diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-07-25 16:32:08 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-07-25 16:32:08 +0200 |
commit | 9bdb9a0987d45d74322b7403fe2203cfee983493 (patch) | |
tree | 9214c6e06c36a675bec4eb20645b8fa5abae9ea7 /src/configure.in | |
parent | 5fb9ec5ed7a99e85f304b3450f9a8c6886fc779d (diff) |
updated for version 7.3.613v7.3.613
Problem: Including Python's config.c in the build causes trouble. It is
not clear why it was there.
Solution: Omit the config file. (James McCoy)
Diffstat (limited to 'src/configure.in')
-rw-r--r-- | src/configure.in | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/configure.in b/src/configure.in index 743990437b..fb6aed0d47 100644 --- a/src/configure.in +++ b/src/configure.in @@ -916,12 +916,7 @@ eof PYTHON_CFLAGS="-I${vi_cv_path_python_pfx}/include/python${vi_cv_var_python_version} -I${vi_cv_path_python_epfx}/include/python${vi_cv_var_python_version} -DPYTHON_HOME=\\\"${vi_cv_path_python_pfx}\\\"" fi PYTHON_SRC="if_python.c" - dnl For Mac OSX 10.2 config.o is included in the Python library. - if test "x$MACOSX" = "xyes"; then - PYTHON_OBJ="objects/if_python.o" - else - PYTHON_OBJ="objects/if_python.o objects/py_config.o" - fi + PYTHON_OBJ="objects/if_python.o" if test "${vi_cv_var_python_version}" = "1.4"; then PYTHON_OBJ="$PYTHON_OBJ objects/py_getpath.o" fi @@ -1106,12 +1101,7 @@ eof PYTHON3_CFLAGS="-I${vi_cv_path_python3_pfx}/include/python${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags} -I${vi_cv_path_python3_epfx}/include/python${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags} -DPYTHON3_HOME=L\\\"${vi_cv_path_python3_pfx}\\\"" fi PYTHON3_SRC="if_python3.c" - dnl For Mac OSX 10.2 config.o is included in the Python library. - if test "x$MACOSX" = "xyes"; then - PYTHON3_OBJ="objects/if_python3.o" - else - PYTHON3_OBJ="objects/if_python3.o objects/py3_config.o" - fi + PYTHON3_OBJ="objects/if_python3.o" dnl On FreeBSD linking with "-pthread" is required to use threads. dnl _THREAD_SAFE must be used for compiling then. |