diff mbox

[03/10] configure: group AM_CONDITIONAL

Message ID 1458758254-4703-4-git-send-email-anders.roxell@linaro.org
State Superseded
Headers show

Commit Message

Anders Roxell March 23, 2016, 6:37 p.m. UTC
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 configure.ac | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)
diff mbox

Patch

diff --git a/configure.ac b/configure.ac
index c2f8caa..6d6e17a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -93,13 +93,8 @@  else
 fi
 
 ##########################################################################
-# Set conditionals as computed within platform specific files
+# Set SDK install path
 ##########################################################################
-AM_CONDITIONAL([dpdk_support], [test x$dpdk_support = xyes ])
-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).]),
@@ -107,8 +102,6 @@  AC_HELP_STRING([--with-sdk-install-path=DIR path to external libs and headers],
 
 AC_SUBST(SDK_INSTALL_PATH)
 
-AM_CONDITIONAL([SDK_INSTALL_PATH_], [test "x${SDK_INSTALL_PATH_}" = "x1"])
-
 ##########################################################################
 # Set the install directory for test binaries/scripts
 ##########################################################################
@@ -120,7 +113,6 @@  AC_ARG_WITH([testdir],
              testdir=$withval
          fi], [])
 AC_SUBST([testdir])
-AM_CONDITIONAL([test_installdir], [test "$testdir" != ""])
 
 ##########################################################################
 # Enable/disable Unit tests
@@ -134,6 +126,15 @@  AC_ARG_ENABLE([cunit_support],
 
 
 ##########################################################################
+# Set conditionals as computed within platform specific files
+##########################################################################
+AM_CONDITIONAL([dpdk_support], [test x$dpdk_support = xyes ])
+AM_CONDITIONAL([netmap_support], [test x$netmap_support = xyes ])
+AM_CONDITIONAL([HAVE_PCAP], [test $have_pcap = yes])
+AM_CONDITIONAL([SDK_INSTALL_PATH_], [test "x${SDK_INSTALL_PATH_}" = "x1"])
+AM_CONDITIONAL([test_installdir], [test "$testdir" != ""])
+
+##########################################################################
 # Setup doxygen documentation
 ##########################################################################
 DX_HTML_FEATURE(ON)