From: Guy Harris Date: Mon, 5 Mar 2012 16:12:32 +0000 (-0800) Subject: Fix the other typo, so setting CPPFLAGS in the environment works correctly. X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/66f284457e19bc53a417834280a52533267a147e Fix the other typo, so setting CPPFLAGS in the environment works correctly. Based-On-Patch-From: Simon Ruderich --- diff --git a/configure b/configure index 6acce54f..b8027def 100755 --- a/configure +++ b/configure @@ -9344,7 +9344,7 @@ fi done if test $ac_cv_func_pcap_findalldevs = "yes" ; then - savedppflags="$CPPFLAGS" + savedcppflags="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $V_INCLS" { echo "$as_me:$LINENO: checking for pcap_if_t" >&5 echo $ECHO_N "checking for pcap_if_t... $ECHO_C" >&6; } @@ -11762,7 +11762,7 @@ _ACEOF fi - savedppflags="$CPPFLAGS" + savedcppflags="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $V_INCLS" for ac_header in openssl/evp.h diff --git a/configure.in b/configure.in index f1300d73..88642387 100644 --- a/configure.in +++ b/configure.in @@ -732,7 +732,7 @@ if test $ac_cv_func_pcap_findalldevs = "yes" ; then dnl Check for Mac OS X, which may ship pcap.h from 0.6 but libpcap may dnl be 0.8; this means that lib has pcap_findalldevs but header doesn't dnl have pcap_if_t. - savedppflags="$CPPFLAGS" + savedcppflags="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $V_INCLS" AC_CHECK_TYPES(pcap_if_t, , , [#include ]) CPPFLAGS="$savedcppflags" @@ -1067,7 +1067,7 @@ if test "$want_libcrypto" != "no"; then fi AC_CHECK_LIB(crypto, DES_cbc_encrypt) - savedppflags="$CPPFLAGS" + savedcppflags="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $V_INCLS" AC_CHECK_HEADERS(openssl/evp.h) CPPFLAGS="$savedcppflags"