diff mbox series

[v5,14/25] configure: AC_DEFINE(ODP_SCHEDULE_SP)

Message ID 1503396009-8350-15-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [v5,1/25] configure: move configure header to include dir | expand

Commit Message

Github ODP bot Aug. 22, 2017, 9:59 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: aecb3c7a442b426761f1e6f43308a1e9ea709ef3
 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89
 **/
 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 91c19f21..14b278bf 100644
--- a/platform/linux-generic/m4/odp_schedule.m4
+++ b/platform/linux-generic/m4/odp_schedule.m4
@@ -2,7 +2,8 @@  AC_ARG_ENABLE([schedule-sp],
     [  --enable-schedule-sp    enable strict priority scheduler],
     [if test x$enableval = xyes; then
 	schedule_sp_enabled=yes
-	ODP_CFLAGS="$ODP_CFLAGS -DODP_SCHEDULE_SP"
+	AC_DEFINE([ODP_SCHEDULE_SP], [1],
+		  [Define to 1 to enable strict priority scheduler])
     fi])
 
 AC_ARG_ENABLE([schedule-iquery],