diff mbox

[PATCHv2,03/10] configure: group AM_CONDITIONAL

Message ID 1459275814-19876-4-git-send-email-anders.roxell@linaro.org
State Accepted
Commit d657f6b62d24d15776a433b449f5d1f0069413a8
Headers show

Commit Message

Anders Roxell March 29, 2016, 6:23 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 5c4332a..75d846e 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([netmap_support], [test x$netmap_support = xyes ])
-AM_CONDITIONAL([PKTIO_DPDK], [test x$pktio_dpdk_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([netmap_support], [test x$netmap_support = xyes ])
+AM_CONDITIONAL([PKTIO_DPDK], [test x$pktio_dpdk_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)