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.
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
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"