From f80563ee4b2af413e6c0d62dada2434b076bb85c Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Thu, 3 Jun 2021 17:16:49 -0700 Subject: [PATCH] remove unused PYTHON._PREFIX config variables These were copy-pasted from the generic Python support in 32466ecc452102a1fc84f4331c0ed099da4e7edc without noticing that they are unused in the way Python 2 and 3 detection is written. Related to #1992. --- configure.ac | 2 -- 1 file changed, 2 deletions(-) diff --git a/configure.ac b/configure.ac index d653f6c2e..076690592 100644 --- a/configure.ac +++ b/configure.ac @@ -1309,7 +1309,6 @@ else PYTHON2= fi fi - PYTHON2_PREFIX=`$PYTHON2 -c "import sys; print(sys.prefix)"` PYTHON2_INSTALL_DIR="`$PYTHON2 $srcdir/config/config_python.py archsitelib`" save_CPPFLAGS=$CPPFLAGS CPPFLAGS=$save_CPPFLAGS @@ -1378,7 +1377,6 @@ else use_python3="No (python-$PYTHON3_VERSION.pc not found)" fi fi - PYTHON3_PREFIX=`$PYTHON3 -c "import sys; print(sys.prefix)"` PYTHON3_INSTALL_DIR="`$PYTHON3 $srcdir/config/config_python.py archsitelib`" save_CPPFLAGS=$CPPFLAGS CPPFLAGS="$CPPFLAGS $PYTHON3_INCLUDES" -- 2.50.1