Signed-off-by: Nicolas Morey-Chaisemartin <nmo...@kalray.eu>
---
 configure.ac                              | 12 ------------
 platform/linux-generic/m4/conditionals.m4 |  2 ++
 2 files changed, 2 insertions(+), 12 deletions(-)
 create mode 100644 platform/linux-generic/m4/conditionals.m4

diff --git a/configure.ac b/configure.ac
index 157e5f3..3b8fbbc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -81,21 +81,9 @@ AC_SUBST([platform_with_platform], 
["platform/${with_platform}"])
 AC_SUBST([platform_with_platform_test], ["platform/${with_platform}/test"])
 
 ##########################################################################
-# Prepare default values for platform specific optional features
-##########################################################################
-netmap_support=no
-
-##########################################################################
 # Run platform specific checks and settings
 m4_include([m4/platforms.m4])
 
-##########################################################################
-# Set conditionals as computed within platform specific files
-##########################################################################
-AM_CONDITIONAL([netmap_support], [test x$netmap_support = xyes ])
-AM_CONDITIONAL([HAVE_PCAP], [test $have_pcap = yes])
-
-
 AC_ARG_WITH([sdk-install-path],
 AC_HELP_STRING([--with-sdk-install-path=DIR path to external libs and headers],
              [(or in the default path if not specified).]),
diff --git a/platform/linux-generic/m4/conditionals.m4 
b/platform/linux-generic/m4/conditionals.m4
new file mode 100644
index 0000000..8970c5e
--- /dev/null
+++ b/platform/linux-generic/m4/conditionals.m4
@@ -0,0 +1,2 @@
+AM_CONDITIONAL([netmap_support], [test x$netmap_support = xyes ])
+AM_CONDITIONAL([HAVE_PCAP], [test x$have_pcap = xyes])
-- 
2.6.3.372.gcb93895

_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to