Fixed configure script when enables schedule option
schedule-iquery=yes or schedule-sp=yes: command not found

Signed-off-by: Yi He <[email protected]>
---
 platform/linux-generic/m4/odp_schedule.m4 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/platform/linux-generic/m4/odp_schedule.m4 
b/platform/linux-generic/m4/odp_schedule.m4
index 2dcc9a7..91c19f2 100644
--- a/platform/linux-generic/m4/odp_schedule.m4
+++ b/platform/linux-generic/m4/odp_schedule.m4
@@ -1,13 +1,13 @@
 AC_ARG_ENABLE([schedule-sp],
     [  --enable-schedule-sp    enable strict priority scheduler],
     [if test x$enableval = xyes; then
-       schedule-sp=yes
+       schedule_sp_enabled=yes
        ODP_CFLAGS="$ODP_CFLAGS -DODP_SCHEDULE_SP"
     fi])
 
 AC_ARG_ENABLE([schedule-iquery],
     [  --enable-schedule-iquery    enable interests query (sparse bitmap) 
scheduler],
     [if test x$enableval = xyes; then
-       schedule-iquery=yes
+       schedule_iquery_enabled=yes
        ODP_CFLAGS="$ODP_CFLAGS -DODP_SCHEDULE_IQUERY"
     fi])
-- 
2.7.4

Reply via email to