]> granicus.if.org Git - graphviz/commitdiff
remove useless juggling of CPPFLAGS in Python 2 detection
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 5 Jun 2021 19:59:13 +0000 (12:59 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 9 Jun 2021 01:26:02 +0000 (18:26 -0700)
This was copied from the unified Python support in
32466ecc452102a1fc84f4331c0ed099da4e7edc without noticing Python 2 needs no
tweaking of the CPPFLAGS. Related to #1992.

configure.ac

index 9118ddbcf1a78506b1e4043ed4f15eae024c2929..29055cfcf56465156da331e9070ac6f2bb4bfe66 100644 (file)
@@ -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])