core: fix detection of python on Ubuntu Raring
This commit is contained in:
parent
8b43151c85
commit
5d2382caab
@ -1,12 +1,13 @@
|
||||
WeeChat ChangeLog
|
||||
=================
|
||||
Sébastien Helleu <flashcode@flashtux.org>
|
||||
v0.4.1-dev, 2013-01-29
|
||||
v0.4.1-dev, 2013-01-31
|
||||
|
||||
|
||||
Version 0.4.1 (under dev!)
|
||||
--------------------------
|
||||
|
||||
* core: fix detection of python on Ubuntu Raring
|
||||
* core: fix hidden lines for messages without date when option
|
||||
weechat.history.max_buffer_lines_minutes is set (bug #38197)
|
||||
* core: use default hash/comparison callback for keys of type
|
||||
|
@ -47,7 +47,7 @@ ENDIF(ENABLE_PYTHON3)
|
||||
|
||||
IF(PYTHON_EXECUTABLE)
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('CONFINCLUDEPY'))"
|
||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('INCLUDEPY'))"
|
||||
OUTPUT_VARIABLE PYTHON_INC_DIR
|
||||
)
|
||||
|
||||
|
@ -481,7 +481,7 @@ if test "x$enable_python" = "xyes" ; then
|
||||
else
|
||||
PYTHON_SYSPREFIX=`$PYTHON -c 'import sys; sys.stdout.write("%s" % sys.prefix)'`
|
||||
PYTHON_VERSION=`$PYTHON -c 'import sys; sys.stdout.write(sys.version[[:3]])'`
|
||||
PYTHON_INCLUDE=`$PYTHON -c "import sys, distutils.sysconfig, string; sys.stdout.write(distutils.sysconfig.get_config_var('CONFINCLUDEPY'))"`
|
||||
PYTHON_INCLUDE=`$PYTHON -c "import sys, distutils.sysconfig, string; sys.stdout.write(distutils.sysconfig.get_config_var('INCLUDEPY'))"`
|
||||
PYTHON_OLD_VERSION=`$PYTHON -c "import sys; sys.stdout.write(str(sys.version_info < (2,5)))"`
|
||||
if test "x$PYTHON_OLD_VERSION" = "xTrue" ; then
|
||||
AC_MSG_WARN([
|
||||
|
Loading…
x
Reference in New Issue
Block a user