Ticket #43254: patch-configure-python2.7.diff
File patch-configure-python2.7.diff, 1.0 KB (added by matt@…, 10 years ago) |
---|
-
configure
old new 24352 24352 24353 24353 24354 24354 24355 PYTHON_PREFIX= '${prefix}'24355 PYTHON_PREFIX=`python2.7-config --prefix` 24356 24356 24357 PYTHON_EXEC_PREFIX= '${exec_prefix}'24357 PYTHON_EXEC_PREFIX=`python2.7-config --exec-prefix` 24358 24358 24359 24359 24360 24360 … … 24614 24614 # 24615 24615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python include path" >&5 24616 24616 $as_echo_n "checking for Python include path... " >&6; } 24617 PYTHON_CPPFLAGS=`python2.7-config --cflags` 24617 24618 if test -z "$PYTHON_CPPFLAGS"; then 24618 24619 python_path=`$PYTHON -c "import distutils.sysconfig; \ 24619 24620 print (distutils.sysconfig.get_python_inc ());"` … … 24748 24749 # 24749 24750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking python extra linking flags" >&5 24750 24751 $as_echo_n "checking python extra linking flags... " >&6; } 24752 PYTHON_EXTRA_LDFLAGS=`python2.7-config --ldflags` 24751 24753 if test -z "$PYTHON_EXTRA_LDFLAGS"; then 24752 24754 PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import distutils.sysconfig; \ 24753 24755 conf = distutils.sysconfig.get_config_var; \