diff mbox

linux-dpdk/m4/configure.m4: move m4_include above ac_check_*

Message ID 1469112174-23914-1-git-send-email-anders.roxell@linaro.org
State Accepted
Commit eb6929d8bb3124c8165b5da477f0f10c903b8095
Headers show

Commit Message

Anders Roxell July 21, 2016, 2:42 p.m. UTC
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>

---
 platform/linux-dpdk/m4/configure.m4 | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

-- 
2.1.4

Comments

Zoltan Kiss July 21, 2016, 3:21 p.m. UTC | #1
Reviewed-by: Zoltan Kiss <zoltan.kiss@linaro.org>


On 21/07/16 15:42, Anders Roxell wrote:
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>

> ---

>  platform/linux-dpdk/m4/configure.m4 | 12 ++++++------

>  1 file changed, 6 insertions(+), 6 deletions(-)

>

> diff --git a/platform/linux-dpdk/m4/configure.m4 b/platform/linux-dpdk/m4/configure.m4

> index 1d04fd0..f370afb 100644

> --- a/platform/linux-dpdk/m4/configure.m4

> +++ b/platform/linux-dpdk/m4/configure.m4

> @@ -28,6 +28,12 @@ AC_LINK_IFELSE(

>      echo "Use newer version. For gcc > 4.7.0"

>      exit -1)

>

> +# linux-generic PCAP support is not relevant as the code doesn't use

> +# linux-generic pktio at all. And DPDK has its own PCAP support anyway

> +AM_CONDITIONAL([HAVE_PCAP], [false])

> +m4_include([platform/linux-dpdk/m4/odp_pthread.m4])

> +m4_include([platform/linux-dpdk/m4/odp_openssl.m4])

> +

>  #

>  # Check that SDK_INSTALL_PATH provided to right dpdk version

>  #

> @@ -67,12 +73,6 @@ AC_CHECK_HEADERS([rte_config.h], [],

>  LDFLAGS=$OLD_LDFLAGS

>  CPPFLAGS=$OLD_CPPFLAGS

>

> -# linux-generic PCAP support is not relevant as the code doesn't use

> -# linux-generic pktio at all. And DPDK has its own PCAP support anyway

> -AM_CONDITIONAL([HAVE_PCAP], [false])

> -m4_include([platform/linux-dpdk/m4/odp_pthread.m4])

> -m4_include([platform/linux-dpdk/m4/odp_openssl.m4])

> -

>  AC_CONFIG_FILES([platform/linux-dpdk/Makefile

>  		 platform/linux-dpdk/test/Makefile

>  		 platform/linux-dpdk/test/pktio/Makefile

>
Zoltan Kiss July 22, 2016, 10:46 a.m. UTC | #2
Applied to ODP-DPDK (with subject line formatted a bit)

On 21/07/16 15:42, Anders Roxell wrote:
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>

> ---

>  platform/linux-dpdk/m4/configure.m4 | 12 ++++++------

>  1 file changed, 6 insertions(+), 6 deletions(-)

>

> diff --git a/platform/linux-dpdk/m4/configure.m4 b/platform/linux-dpdk/m4/configure.m4

> index 1d04fd0..f370afb 100644

> --- a/platform/linux-dpdk/m4/configure.m4

> +++ b/platform/linux-dpdk/m4/configure.m4

> @@ -28,6 +28,12 @@ AC_LINK_IFELSE(

>      echo "Use newer version. For gcc > 4.7.0"

>      exit -1)

>

> +# linux-generic PCAP support is not relevant as the code doesn't use

> +# linux-generic pktio at all. And DPDK has its own PCAP support anyway

> +AM_CONDITIONAL([HAVE_PCAP], [false])

> +m4_include([platform/linux-dpdk/m4/odp_pthread.m4])

> +m4_include([platform/linux-dpdk/m4/odp_openssl.m4])

> +

>  #

>  # Check that SDK_INSTALL_PATH provided to right dpdk version

>  #

> @@ -67,12 +73,6 @@ AC_CHECK_HEADERS([rte_config.h], [],

>  LDFLAGS=$OLD_LDFLAGS

>  CPPFLAGS=$OLD_CPPFLAGS

>

> -# linux-generic PCAP support is not relevant as the code doesn't use

> -# linux-generic pktio at all. And DPDK has its own PCAP support anyway

> -AM_CONDITIONAL([HAVE_PCAP], [false])

> -m4_include([platform/linux-dpdk/m4/odp_pthread.m4])

> -m4_include([platform/linux-dpdk/m4/odp_openssl.m4])

> -

>  AC_CONFIG_FILES([platform/linux-dpdk/Makefile

>  		 platform/linux-dpdk/test/Makefile

>  		 platform/linux-dpdk/test/pktio/Makefile

>
diff mbox

Patch

diff --git a/platform/linux-dpdk/m4/configure.m4 b/platform/linux-dpdk/m4/configure.m4
index 1d04fd0..f370afb 100644
--- a/platform/linux-dpdk/m4/configure.m4
+++ b/platform/linux-dpdk/m4/configure.m4
@@ -28,6 +28,12 @@  AC_LINK_IFELSE(
     echo "Use newer version. For gcc > 4.7.0"
     exit -1)
 
+# linux-generic PCAP support is not relevant as the code doesn't use
+# linux-generic pktio at all. And DPDK has its own PCAP support anyway
+AM_CONDITIONAL([HAVE_PCAP], [false])
+m4_include([platform/linux-dpdk/m4/odp_pthread.m4])
+m4_include([platform/linux-dpdk/m4/odp_openssl.m4])
+
 #
 # Check that SDK_INSTALL_PATH provided to right dpdk version
 #
@@ -67,12 +73,6 @@  AC_CHECK_HEADERS([rte_config.h], [],
 LDFLAGS=$OLD_LDFLAGS
 CPPFLAGS=$OLD_CPPFLAGS
 
-# linux-generic PCAP support is not relevant as the code doesn't use
-# linux-generic pktio at all. And DPDK has its own PCAP support anyway
-AM_CONDITIONAL([HAVE_PCAP], [false])
-m4_include([platform/linux-dpdk/m4/odp_pthread.m4])
-m4_include([platform/linux-dpdk/m4/odp_openssl.m4])
-
 AC_CONFIG_FILES([platform/linux-dpdk/Makefile
 		 platform/linux-dpdk/test/Makefile
 		 platform/linux-dpdk/test/pktio/Makefile