X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=m4%2Fax_check_pcap.m4;h=379a1137f4e6d4064c899e1e805cfb4716a05b44;hb=ee860dc3de8647e67bc907bd9fd60650a22155ca;hp=6d70ec128d2ec32aa64bb9abd8ce204592dfb343;hpb=509f04959ad891d7f981f035ed461d51bd1f74b0;p=ppp.git diff --git a/m4/ax_check_pcap.m4 b/m4/ax_check_pcap.m4 index 6d70ec1..379a113 100644 --- a/m4/ax_check_pcap.m4 +++ b/m4/ax_check_pcap.m4 @@ -76,7 +76,7 @@ AC_DEFUN([AX_CHECK_PCAP], [ $1 ], [ AC_MSG_RESULT([no]) - with_pcap="" + with_pcap="no" $2 ]) CPPFLAGS="$save_CPPFLAGS" @@ -88,6 +88,6 @@ AC_DEFUN([AX_CHECK_PCAP], [ AC_SUBST([PCAP_LDFLAGS]) fi - AM_CONDITIONAL(WITH_PCAP, test -n "${with_pcap}") + AM_CONDITIONAL(WITH_PCAP, test "x${with_pcap}" != "xno") ])