Skip to content

Commit

Permalink
CPPPFLAGS is now CPPPFLAG
Browse files Browse the repository at this point in the history
  • Loading branch information
craig65535 committed Aug 15, 2016
1 parent 3592d1a commit 17c4177
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions acinclude.m4
Expand Up @@ -32,8 +32,8 @@ dnl actually be a single double-quoted string concatenating all them.
AC_DEFUN([CURL_CHECK_DEF], [
AC_REQUIRE([CURL_CPP_P])dnl
OLDCPPFLAGS=$CPPFLAGS
# CPPPFLAGS comes from CURL_CPP_P
#CPPFLAGS="$CPPPFLAGS"
# CPPPFLAG comes from CURL_CPP_P
CPPFLAGS="$CPPFLAGS $CPPPFLAG"
AS_VAR_PUSHDEF([ac_HaveDef], [curl_cv_have_def_$1])dnl
AS_VAR_PUSHDEF([ac_Def], [curl_cv_def_$1])dnl
if test -z "$SED"; then
Expand Down Expand Up @@ -3187,12 +3187,15 @@ TEST EINVAL TEST
if test "x$cpp_p" = "xno"; then
AC_MSG_WARN([failed to figure out cpp -P alternative])
# without -P
CPPPFLAGS=$OLDCPPFLAGS
CPPPFLAG=""
else
# with -P
CPPPFLAGS=$CPPFLAGS
CPPPFLAG="-P"
fi
dnl restore CPPFLAGS
CPPFLAGS=$OLDCPPFLAGS
else
# without -P
CPPPFLAG=""
fi
])

0 comments on commit 17c4177

Please sign in to comment.