Merged,
Maxim.

On 11/05/2015 18:09, Nicolas Morey-Chaisemartin wrote:
Ping

On 10/21/2015 02:49 PM, Nicolas Morey-Chaisemartin wrote:
Platform specific m4 files cannot define AM_CONDITIONAL.

Signed-off-by: Nicolas Morey-Chaisemartin <[email protected]>
---
  configure.ac                          | 1 +
  platform/linux-generic/m4/odp_pcap.m4 | 1 -
  2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 5d84f92..641a7c1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -100,6 +100,7 @@ fi
  # 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],
diff --git a/platform/linux-generic/m4/odp_pcap.m4 
b/platform/linux-generic/m4/odp_pcap.m4
index 734b790..0439c60 100644
--- a/platform/linux-generic/m4/odp_pcap.m4
+++ b/platform/linux-generic/m4/odp_pcap.m4
@@ -8,7 +8,6 @@ AC_CHECK_HEADER(pcap/pcap.h,
      [])],
  [])
-AM_CONDITIONAL([HAVE_PCAP], [test $have_pcap = yes])
  if test $have_pcap == yes; then
      AM_CFLAGS="$AM_CFLAGS -DHAVE_PCAP"
      LIBS="$LIBS -lpcap"
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to