@@ -162,9 +162,6 @@ AC_ARG_WITH([platform],
AC_SUBST([with_platform])
-AM_CONDITIONAL([PLATFORM_IS_LINUX_GENERIC],
- [test "x$with_platform" = "xlinux-generic"])
-
##########################################################################
# Run platform specific checks and settings
##########################################################################
@@ -11,6 +11,9 @@ m4_include([platform/linux-generic/m4/odp_schedule.m4])
m4_include([platform/linux-generic/m4/performance.m4])
+AC_CONFIG_COMMANDS_PRE([dnl
+AM_CONDITIONAL([PLATFORM_IS_LINUX_GENERIC],
+ [test "${with_platform}" = "linux-generic"])
AC_CONFIG_FILES([platform/linux-generic/Makefile
platform/linux-generic/libodp-linux.pc
platform/linux-generic/include/odp/api/plat/static_inline.h
@@ -21,3 +24,4 @@ AC_CONFIG_FILES([platform/linux-generic/Makefile
platform/linux-generic/test/pktio_ipc/Makefile
platform/linux-generic/test/ring/Makefile
platform/linux-generic/test/performance/Makefile])
+])
@@ -43,4 +43,6 @@ fi
##########################################################################
CPPFLAGS=$OLD_CPPFLAGS
+AC_CONFIG_COMMANDS_PRE([dnl
AM_CONDITIONAL([netmap_support], [test x$netmap_support = xyes ])
+])
@@ -15,4 +15,6 @@ fi
AC_SUBST([PCAP_LIBS])
-AM_CONDITIONAL([HAVE_PCAP], [test $have_pcap = yes])
+AC_CONFIG_COMMANDS_PRE([dnl
+AM_CONDITIONAL([HAVE_PCAP], [test x$have_pcap = xyes])
+])
@@ -5,4 +5,6 @@ AC_ARG_ENABLE([test-perf-proc],
[AS_HELP_STRING([--enable-test-perf-proc], [run test in test/performance in process mode])],
[test_perf_proc=$enableval],
[test_perf_proc=yes])
+AC_CONFIG_COMMANDS_PRE([dnl
AM_CONDITIONAL([test_perf_proc], [test x$test_perf_proc = xyes ])
+])