From: Matthew Fernandez Date: Sat, 5 Jun 2021 19:59:13 +0000 (-0700) Subject: remove useless juggling of CPPFLAGS in Python 2 detection X-Git-Tag: 2.47.3~8^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c4bd434bb1d00f018a584d77f4f0acf04e978de;p=graphviz remove useless juggling of CPPFLAGS in Python 2 detection This was copied from the unified Python support in 32466ecc452102a1fc84f4331c0ed099da4e7edc without noticing Python 2 needs no tweaking of the CPPFLAGS. Related to #1992. --- diff --git a/configure.ac b/configure.ac index 9118ddbcf..29055cfcf 100644 --- a/configure.ac +++ b/configure.ac @@ -1303,8 +1303,6 @@ else fi fi PYTHON2_INSTALL_DIR="`$PYTHON2 $srcdir/config/config_python.py archsitelib`" - save_CPPFLAGS=$CPPFLAGS - CPPFLAGS=$save_CPPFLAGS if test "x$PYTHON2" != "x"; then use_python2="Yes" AC_SUBST([PYTHON2_INSTALL_DIR])