diff mbox series

[v2,14/16] configure: AC_DEFINE(ODP_SCHEDULE_IQUERY)

Message ID 1502791206-2437-15-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [v2,1/16] configure: move configure header to top of build tree | expand

Commit Message

Github ODP bot Aug. 15, 2017, 10 a.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


Use Autoconf macros instead of defining macro by hand.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 127 (lumag:improve-build)
 ** https://github.com/Linaro/odp/pull/127
 ** Patch: https://github.com/Linaro/odp/pull/127.patch
 ** Base sha: 90d4ce1b3b25ca18446131906007571cc0ed0191
 ** Merge commit sha: 3e7a44d8f4b7c90183d3bd3b57bc812f16de030f
 **/
 platform/linux-generic/m4/odp_schedule.m4 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/platform/linux-generic/m4/odp_schedule.m4 b/platform/linux-generic/m4/odp_schedule.m4
index 14b278bf..bb3980ca 100644
--- a/platform/linux-generic/m4/odp_schedule.m4
+++ b/platform/linux-generic/m4/odp_schedule.m4
@@ -10,5 +10,6 @@  AC_ARG_ENABLE([schedule-iquery],
     [  --enable-schedule-iquery    enable interests query (sparse bitmap) scheduler],
     [if test x$enableval = xyes; then
 	schedule_iquery_enabled=yes
-	ODP_CFLAGS="$ODP_CFLAGS -DODP_SCHEDULE_IQUERY"
+	AC_DEFINE([ODP_SCHEDULE_IQUERY], [1],
+		  [Define to 1 to enable interests query scheduler])
     fi])