|
Karsten Hopp |
202618 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
202618 |
Subject: Patch 7.3.1167
|
|
Karsten Hopp |
202618 |
Fcc: outbox
|
|
Karsten Hopp |
202618 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
202618 |
Mime-Version: 1.0
|
|
Karsten Hopp |
202618 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
202618 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
202618 |
------------
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
Patch 7.3.1167
|
|
Karsten Hopp |
202618 |
Problem: Python configure check doesn't reject Python 2 when requesting
|
|
Karsten Hopp |
202618 |
Python 3. Some systems need -pthreads instead of -pthread.
|
|
Karsten Hopp |
202618 |
Solution: Adjust configure accordingly. (Andrei Olsen)
|
|
Karsten Hopp |
202618 |
Files: src/configure.in, src/auto/configure
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
*** ../vim-7.3.1166/src/configure.in 2013-06-10 21:27:18.000000000 +0200
|
|
Karsten Hopp |
202618 |
--- src/configure.in 2013-06-11 19:49:52.000000000 +0200
|
|
Karsten Hopp |
202618 |
***************
|
|
Karsten Hopp |
202618 |
*** 986,991 ****
|
|
Karsten Hopp |
202618 |
--- 986,994 ----
|
|
Karsten Hopp |
202618 |
threadsafe_flag="-D_THREAD_SAFE"
|
|
Karsten Hopp |
202618 |
thread_lib="-pthread"
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
+ if test "`(uname) 2>/dev/null`" = SunOS; then
|
|
Karsten Hopp |
202618 |
+ threadsafe_flag="-pthreads"
|
|
Karsten Hopp |
202618 |
+ fi
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
libs_save_old=$LIBS
|
|
Karsten Hopp |
202618 |
if test -n "$threadsafe_flag"; then
|
|
Karsten Hopp |
202618 |
***************
|
|
Karsten Hopp |
202618 |
*** 1022,1028 ****
|
|
Karsten Hopp |
202618 |
PYTHON_LIBS=
|
|
Karsten Hopp |
202618 |
PYTHON_CFLAGS=
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
-
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
else
|
|
Karsten Hopp |
202618 |
AC_MSG_RESULT(too old)
|
|
Karsten Hopp |
202618 |
--- 1025,1030 ----
|
|
Karsten Hopp |
202618 |
***************
|
|
Karsten Hopp |
202618 |
*** 1058,1135 ****
|
|
Karsten Hopp |
202618 |
${vi_cv_path_python3} -c 'import sys; print(sys.version[:3])'`
|
|
Karsten Hopp |
202618 |
]])
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! dnl -- get abiflags for python 3.2 or higher (PEP 3149)
|
|
Karsten Hopp |
202618 |
! AC_CACHE_CHECK(Python's abiflags,vi_cv_var_python3_abiflags,
|
|
Karsten Hopp |
202618 |
! [
|
|
Karsten Hopp |
202618 |
! vi_cv_var_python3_abiflags=
|
|
Karsten Hopp |
202618 |
! if ${vi_cv_path_python3} -c \
|
|
Karsten Hopp |
202618 |
! "import sys; sys.exit(${vi_cv_var_python3_version} < 3.2)"
|
|
Karsten Hopp |
202618 |
! then
|
|
Karsten Hopp |
202618 |
! vi_cv_var_python3_abiflags=`${vi_cv_path_python3} -c \
|
|
Karsten Hopp |
202618 |
! "import sys; print(sys.abiflags)"`
|
|
Karsten Hopp |
202618 |
! fi ])
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! dnl -- find where python3 thinks it was installed
|
|
Karsten Hopp |
202618 |
! AC_CACHE_CHECK(Python's install prefix,vi_cv_path_python3_pfx,
|
|
Karsten Hopp |
202618 |
! [ vi_cv_path_python3_pfx=`
|
|
Karsten Hopp |
202618 |
! ${vi_cv_path_python3} -c \
|
|
Karsten Hopp |
202618 |
! "import sys; print(sys.prefix)"` ])
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! dnl -- and where it thinks it runs
|
|
Karsten Hopp |
202618 |
! AC_CACHE_CHECK(Python's execution prefix,vi_cv_path_python3_epfx,
|
|
Karsten Hopp |
202618 |
! [ vi_cv_path_python3_epfx=`
|
|
Karsten Hopp |
202618 |
! ${vi_cv_path_python3} -c \
|
|
Karsten Hopp |
202618 |
! "import sys; print(sys.exec_prefix)"` ])
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! dnl -- python3's internal library path
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! AC_CACHE_VAL(vi_cv_path_python3path,
|
|
Karsten Hopp |
202618 |
! [ vi_cv_path_python3path=`
|
|
Karsten Hopp |
202618 |
! unset PYTHONPATH;
|
|
Karsten Hopp |
202618 |
! ${vi_cv_path_python3} -c \
|
|
Karsten Hopp |
202618 |
! "import sys, string; print(':'.join(sys.path))"` ])
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! dnl -- where the Python implementation library archives are
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! AC_ARG_WITH(python3-config-dir,
|
|
Karsten Hopp |
202618 |
! [ --with-python3-config-dir=PATH Python's config directory],
|
|
Karsten Hopp |
202618 |
! [ vi_cv_path_python3_conf="${withval}" ] )
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! AC_CACHE_CHECK(Python's configuration directory,vi_cv_path_python3_conf,
|
|
Karsten Hopp |
202618 |
! [
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_conf=
|
|
Karsten Hopp |
202618 |
! config_dir="config"
|
|
Karsten Hopp |
202618 |
! if test "${vi_cv_var_python3_abiflags}" != ""; then
|
|
Karsten Hopp |
202618 |
! config_dir="${config_dir}-${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}"
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
! d=`${vi_cv_path_python3} -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('LIBPL'))"`
|
|
Karsten Hopp |
202618 |
! if test -d "$d" && test -f "$d/config.c"; then
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_conf="$d"
|
|
Karsten Hopp |
202618 |
! else
|
|
Karsten Hopp |
202618 |
! for path in "${vi_cv_path_python3_pfx}" "${vi_cv_path_python3_epfx}"; do
|
|
Karsten Hopp |
202618 |
! for subdir in lib64 lib share; do
|
|
Karsten Hopp |
202618 |
! d="${path}/${subdir}/python${vi_cv_var_python3_version}/${config_dir}"
|
|
Karsten Hopp |
202618 |
! if test -d "$d" && test -f "$d/config.c"; then
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_conf="$d"
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
! done
|
|
Karsten Hopp |
202618 |
! done
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
! ])
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! PYTHON3_CONFDIR="${vi_cv_path_python3_conf}"
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! if test "X$PYTHON3_CONFDIR" = "X"; then
|
|
Karsten Hopp |
202618 |
! AC_MSG_RESULT([can't find it!])
|
|
Karsten Hopp |
202618 |
! else
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! dnl -- we need to examine Python's config/Makefile too
|
|
Karsten Hopp |
202618 |
! dnl see what the interpreter is built from
|
|
Karsten Hopp |
202618 |
! AC_CACHE_VAL(vi_cv_path_python3_plibs,
|
|
Karsten Hopp |
202618 |
[
|
|
Karsten Hopp |
202618 |
! pwd=`pwd`
|
|
Karsten Hopp |
202618 |
! tmp_mkf="$pwd/config-PyMake$$"
|
|
Karsten Hopp |
202618 |
! cat -- "${PYTHON3_CONFDIR}/Makefile" - <<'eof' >"${tmp_mkf}"
|
|
Karsten Hopp |
202618 |
__:
|
|
Karsten Hopp |
202618 |
@echo "python3_BASEMODLIBS='$(BASEMODLIBS)'"
|
|
Karsten Hopp |
202618 |
@echo "python3_LIBS='$(LIBS)'"
|
|
Karsten Hopp |
202618 |
--- 1060,1144 ----
|
|
Karsten Hopp |
202618 |
${vi_cv_path_python3} -c 'import sys; print(sys.version[:3])'`
|
|
Karsten Hopp |
202618 |
]])
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! dnl -- it must be at least version 3
|
|
Karsten Hopp |
202618 |
! AC_MSG_CHECKING(Python is 3.0 or better)
|
|
Karsten Hopp |
202618 |
! if ${vi_cv_path_python3} -c \
|
|
Karsten Hopp |
202618 |
! "import sys; sys.exit(${vi_cv_var_python3_version} < 3.0)"
|
|
Karsten Hopp |
202618 |
! then
|
|
Karsten Hopp |
202618 |
! AC_MSG_RESULT(yep)
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! dnl -- get abiflags for python 3.2 or higher (PEP 3149)
|
|
Karsten Hopp |
202618 |
! AC_CACHE_CHECK(Python's abiflags,vi_cv_var_python3_abiflags,
|
|
Karsten Hopp |
202618 |
[
|
|
Karsten Hopp |
202618 |
! vi_cv_var_python3_abiflags=
|
|
Karsten Hopp |
202618 |
! if ${vi_cv_path_python3} -c \
|
|
Karsten Hopp |
202618 |
! "import sys; sys.exit(${vi_cv_var_python3_version} < 3.2)"
|
|
Karsten Hopp |
202618 |
! then
|
|
Karsten Hopp |
202618 |
! vi_cv_var_python3_abiflags=`${vi_cv_path_python3} -c \
|
|
Karsten Hopp |
202618 |
! "import sys; print(sys.abiflags)"`
|
|
Karsten Hopp |
202618 |
! fi ])
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! dnl -- find where python3 thinks it was installed
|
|
Karsten Hopp |
202618 |
! AC_CACHE_CHECK(Python's install prefix,vi_cv_path_python3_pfx,
|
|
Karsten Hopp |
202618 |
! [ vi_cv_path_python3_pfx=`
|
|
Karsten Hopp |
202618 |
! ${vi_cv_path_python3} -c \
|
|
Karsten Hopp |
202618 |
! "import sys; print(sys.prefix)"` ])
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! dnl -- and where it thinks it runs
|
|
Karsten Hopp |
202618 |
! AC_CACHE_CHECK(Python's execution prefix,vi_cv_path_python3_epfx,
|
|
Karsten Hopp |
202618 |
! [ vi_cv_path_python3_epfx=`
|
|
Karsten Hopp |
202618 |
! ${vi_cv_path_python3} -c \
|
|
Karsten Hopp |
202618 |
! "import sys; print(sys.exec_prefix)"` ])
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! dnl -- python3's internal library path
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! AC_CACHE_VAL(vi_cv_path_python3path,
|
|
Karsten Hopp |
202618 |
! [ vi_cv_path_python3path=`
|
|
Karsten Hopp |
202618 |
! unset PYTHONPATH;
|
|
Karsten Hopp |
202618 |
! ${vi_cv_path_python3} -c \
|
|
Karsten Hopp |
202618 |
! "import sys, string; print(':'.join(sys.path))"` ])
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! dnl -- where the Python implementation library archives are
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! AC_ARG_WITH(python3-config-dir,
|
|
Karsten Hopp |
202618 |
! [ --with-python3-config-dir=PATH Python's config directory],
|
|
Karsten Hopp |
202618 |
! [ vi_cv_path_python3_conf="${withval}" ] )
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! AC_CACHE_CHECK(Python's configuration directory,vi_cv_path_python3_conf,
|
|
Karsten Hopp |
202618 |
! [
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_conf=
|
|
Karsten Hopp |
202618 |
! config_dir="config"
|
|
Karsten Hopp |
202618 |
! if test "${vi_cv_var_python3_abiflags}" != ""; then
|
|
Karsten Hopp |
202618 |
! config_dir="${config_dir}-${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}"
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
! d=`${vi_cv_path_python3} -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('LIBPL'))"`
|
|
Karsten Hopp |
202618 |
! if test -d "$d" && test -f "$d/config.c"; then
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_conf="$d"
|
|
Karsten Hopp |
202618 |
! else
|
|
Karsten Hopp |
202618 |
! for path in "${vi_cv_path_python3_pfx}" "${vi_cv_path_python3_epfx}"; do
|
|
Karsten Hopp |
202618 |
! for subdir in lib64 lib share; do
|
|
Karsten Hopp |
202618 |
! d="${path}/${subdir}/python${vi_cv_var_python3_version}/${config_dir}"
|
|
Karsten Hopp |
202618 |
! if test -d "$d" && test -f "$d/config.c"; then
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_conf="$d"
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
! done
|
|
Karsten Hopp |
202618 |
! done
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
! ])
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! PYTHON3_CONFDIR="${vi_cv_path_python3_conf}"
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! if test "X$PYTHON3_CONFDIR" = "X"; then
|
|
Karsten Hopp |
202618 |
! AC_MSG_RESULT([can't find it!])
|
|
Karsten Hopp |
202618 |
! else
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! dnl -- we need to examine Python's config/Makefile too
|
|
Karsten Hopp |
202618 |
! dnl see what the interpreter is built from
|
|
Karsten Hopp |
202618 |
! AC_CACHE_VAL(vi_cv_path_python3_plibs,
|
|
Karsten Hopp |
202618 |
! [
|
|
Karsten Hopp |
202618 |
! pwd=`pwd`
|
|
Karsten Hopp |
202618 |
! tmp_mkf="$pwd/config-PyMake$$"
|
|
Karsten Hopp |
202618 |
! cat -- "${PYTHON3_CONFDIR}/Makefile" - <<'eof' >"${tmp_mkf}"
|
|
Karsten Hopp |
202618 |
__:
|
|
Karsten Hopp |
202618 |
@echo "python3_BASEMODLIBS='$(BASEMODLIBS)'"
|
|
Karsten Hopp |
202618 |
@echo "python3_LIBS='$(LIBS)'"
|
|
Karsten Hopp |
202618 |
***************
|
|
Karsten Hopp |
202618 |
*** 1137,1217 ****
|
|
Karsten Hopp |
202618 |
@echo "python3_DLLLIBRARY='$(DLLLIBRARY)'"
|
|
Karsten Hopp |
202618 |
@echo "python3_INSTSONAME='$(INSTSONAME)'"
|
|
Karsten Hopp |
202618 |
eof
|
|
Karsten Hopp |
202618 |
! dnl -- delete the lines from make about Entering/Leaving directory
|
|
Karsten Hopp |
202618 |
! eval "`cd ${PYTHON3_CONFDIR} && make -f "${tmp_mkf}" __ | sed '/ directory /d'`"
|
|
Karsten Hopp |
202618 |
! rm -f -- "${tmp_mkf}"
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_plibs="-L${PYTHON3_CONFDIR} -lpython${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}"
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_plibs="${vi_cv_path_python3_plibs} ${python3_BASEMODLIBS} ${python3_LIBS} ${python3_SYSLIBS}"
|
|
Karsten Hopp |
202618 |
! dnl remove -ltermcap, it can conflict with an earlier -lncurses
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_plibs=`echo $vi_cv_path_python3_plibs | sed s/-ltermcap//`
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_plibs=`echo $vi_cv_path_python3_plibs | sed s/-lffi//`
|
|
Karsten Hopp |
202618 |
! ])
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! if test "X$python3_DLLLIBRARY" != "X"; then
|
|
Karsten Hopp |
202618 |
! python3_INSTSONAME="$python3_DLLLIBRARY"
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
! PYTHON3_LIBS="${vi_cv_path_python3_plibs}"
|
|
Karsten Hopp |
202618 |
! if test "${vi_cv_path_python3_pfx}" = "${vi_cv_path_python3_epfx}"; then
|
|
Karsten Hopp |
202618 |
! PYTHON3_CFLAGS="-I${vi_cv_path_python3_pfx}/include/python${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags} -DPYTHON3_HOME=L\\\"${vi_cv_path_python3_pfx}\\\""
|
|
Karsten Hopp |
202618 |
! else
|
|
Karsten Hopp |
202618 |
! 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}\\\""
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
! PYTHON3_SRC="if_python3.c"
|
|
Karsten Hopp |
202618 |
! PYTHON3_OBJ="objects/if_python3.o"
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! dnl On FreeBSD linking with "-pthread" is required to use threads.
|
|
Karsten Hopp |
202618 |
! dnl _THREAD_SAFE must be used for compiling then.
|
|
Karsten Hopp |
202618 |
! dnl The "-pthread" is added to $LIBS, so that the following check for
|
|
Karsten Hopp |
202618 |
! dnl sigaltstack() will look in libc_r (it's there in libc!).
|
|
Karsten Hopp |
202618 |
! dnl Otherwise, when using GCC, try adding -pthread to $CFLAGS. GCC
|
|
Karsten Hopp |
202618 |
! dnl will then define target-specific defines, e.g., -D_REENTRANT.
|
|
Karsten Hopp |
202618 |
! dnl Don't do this for Mac OSX, -pthread will generate a warning.
|
|
Karsten Hopp |
202618 |
! AC_MSG_CHECKING([if -pthread should be used])
|
|
Karsten Hopp |
202618 |
! threadsafe_flag=
|
|
Karsten Hopp |
202618 |
! thread_lib=
|
|
Karsten Hopp |
202618 |
! dnl if test "x$MACOSX" != "xyes"; then
|
|
Karsten Hopp |
202618 |
! if test "`(uname) 2>/dev/null`" != Darwin; then
|
|
Karsten Hopp |
202618 |
! test "$GCC" = yes && threadsafe_flag="-pthread"
|
|
Karsten Hopp |
202618 |
! if test "`(uname) 2>/dev/null`" = FreeBSD; then
|
|
Karsten Hopp |
202618 |
! threadsafe_flag="-D_THREAD_SAFE"
|
|
Karsten Hopp |
202618 |
! thread_lib="-pthread"
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
! libs_save_old=$LIBS
|
|
Karsten Hopp |
202618 |
! if test -n "$threadsafe_flag"; then
|
|
Karsten Hopp |
202618 |
cflags_save=$CFLAGS
|
|
Karsten Hopp |
202618 |
! CFLAGS="$CFLAGS $threadsafe_flag"
|
|
Karsten Hopp |
202618 |
! LIBS="$LIBS $thread_lib"
|
|
Karsten Hopp |
202618 |
AC_TRY_LINK(,[ ],
|
|
Karsten Hopp |
202618 |
! AC_MSG_RESULT(yes); PYTHON3_CFLAGS="$PYTHON3_CFLAGS $threadsafe_flag",
|
|
Karsten Hopp |
202618 |
! AC_MSG_RESULT(no); LIBS=$libs_save_old
|
|
Karsten Hopp |
202618 |
! )
|
|
Karsten Hopp |
202618 |
CFLAGS=$cflags_save
|
|
Karsten Hopp |
202618 |
! else
|
|
Karsten Hopp |
202618 |
! AC_MSG_RESULT(no)
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! dnl check that compiling a simple program still works with the flags
|
|
Karsten Hopp |
202618 |
! dnl added for Python.
|
|
Karsten Hopp |
202618 |
! AC_MSG_CHECKING([if compile and link flags for Python 3 are sane])
|
|
Karsten Hopp |
202618 |
! cflags_save=$CFLAGS
|
|
Karsten Hopp |
202618 |
! libs_save=$LIBS
|
|
Karsten Hopp |
202618 |
! CFLAGS="$CFLAGS $PYTHON3_CFLAGS"
|
|
Karsten Hopp |
202618 |
! LIBS="$LIBS $PYTHON3_LIBS"
|
|
Karsten Hopp |
202618 |
! AC_TRY_LINK(,[ ],
|
|
Karsten Hopp |
202618 |
! AC_MSG_RESULT(yes); python3_ok=yes,
|
|
Karsten Hopp |
202618 |
! AC_MSG_RESULT(no: PYTHON3 DISABLED); python3_ok=no)
|
|
Karsten Hopp |
202618 |
! CFLAGS=$cflags_save
|
|
Karsten Hopp |
202618 |
! LIBS=$libs_save
|
|
Karsten Hopp |
202618 |
! if test "$python3_ok" = yes; then
|
|
Karsten Hopp |
202618 |
! AC_DEFINE(FEAT_PYTHON3)
|
|
Karsten Hopp |
202618 |
! else
|
|
Karsten Hopp |
202618 |
! LIBS=$libs_save_old
|
|
Karsten Hopp |
202618 |
! PYTHON3_SRC=
|
|
Karsten Hopp |
202618 |
! PYTHON3_OBJ=
|
|
Karsten Hopp |
202618 |
! PYTHON3_LIBS=
|
|
Karsten Hopp |
202618 |
! PYTHON3_CFLAGS=
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
--- 1146,1232 ----
|
|
Karsten Hopp |
202618 |
@echo "python3_DLLLIBRARY='$(DLLLIBRARY)'"
|
|
Karsten Hopp |
202618 |
@echo "python3_INSTSONAME='$(INSTSONAME)'"
|
|
Karsten Hopp |
202618 |
eof
|
|
Karsten Hopp |
202618 |
! dnl -- delete the lines from make about Entering/Leaving directory
|
|
Karsten Hopp |
202618 |
! eval "`cd ${PYTHON3_CONFDIR} && make -f "${tmp_mkf}" __ | sed '/ directory /d'`"
|
|
Karsten Hopp |
202618 |
! rm -f -- "${tmp_mkf}"
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_plibs="-L${PYTHON3_CONFDIR} -lpython${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}"
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_plibs="${vi_cv_path_python3_plibs} ${python3_BASEMODLIBS} ${python3_LIBS} ${python3_SYSLIBS}"
|
|
Karsten Hopp |
202618 |
! dnl remove -ltermcap, it can conflict with an earlier -lncurses
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_plibs=`echo $vi_cv_path_python3_plibs | sed s/-ltermcap//`
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_plibs=`echo $vi_cv_path_python3_plibs | sed s/-lffi//`
|
|
Karsten Hopp |
202618 |
! ])
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! if test "X$python3_DLLLIBRARY" != "X"; then
|
|
Karsten Hopp |
202618 |
! python3_INSTSONAME="$python3_DLLLIBRARY"
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
! PYTHON3_LIBS="${vi_cv_path_python3_plibs}"
|
|
Karsten Hopp |
202618 |
! if test "${vi_cv_path_python3_pfx}" = "${vi_cv_path_python3_epfx}"; then
|
|
Karsten Hopp |
202618 |
! PYTHON3_CFLAGS="-I${vi_cv_path_python3_pfx}/include/python${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags} -DPYTHON3_HOME=L\\\"${vi_cv_path_python3_pfx}\\\""
|
|
Karsten Hopp |
202618 |
! else
|
|
Karsten Hopp |
202618 |
! 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}\\\""
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
! PYTHON3_SRC="if_python3.c"
|
|
Karsten Hopp |
202618 |
! PYTHON3_OBJ="objects/if_python3.o"
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! dnl On FreeBSD linking with "-pthread" is required to use threads.
|
|
Karsten Hopp |
202618 |
! dnl _THREAD_SAFE must be used for compiling then.
|
|
Karsten Hopp |
202618 |
! dnl The "-pthread" is added to $LIBS, so that the following check for
|
|
Karsten Hopp |
202618 |
! dnl sigaltstack() will look in libc_r (it's there in libc!).
|
|
Karsten Hopp |
202618 |
! dnl Otherwise, when using GCC, try adding -pthread to $CFLAGS. GCC
|
|
Karsten Hopp |
202618 |
! dnl will then define target-specific defines, e.g., -D_REENTRANT.
|
|
Karsten Hopp |
202618 |
! dnl Don't do this for Mac OSX, -pthread will generate a warning.
|
|
Karsten Hopp |
202618 |
! AC_MSG_CHECKING([if -pthread should be used])
|
|
Karsten Hopp |
202618 |
! threadsafe_flag=
|
|
Karsten Hopp |
202618 |
! thread_lib=
|
|
Karsten Hopp |
202618 |
! dnl if test "x$MACOSX" != "xyes"; then
|
|
Karsten Hopp |
202618 |
! if test "`(uname) 2>/dev/null`" != Darwin; then
|
|
Karsten Hopp |
202618 |
! test "$GCC" = yes && threadsafe_flag="-pthread"
|
|
Karsten Hopp |
202618 |
! if test "`(uname) 2>/dev/null`" = FreeBSD; then
|
|
Karsten Hopp |
202618 |
! threadsafe_flag="-D_THREAD_SAFE"
|
|
Karsten Hopp |
202618 |
! thread_lib="-pthread"
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
! if test "`(uname) 2>/dev/null`" = SunOS; then
|
|
Karsten Hopp |
202618 |
! threadsafe_flag="-pthreads"
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
! libs_save_old=$LIBS
|
|
Karsten Hopp |
202618 |
! if test -n "$threadsafe_flag"; then
|
|
Karsten Hopp |
202618 |
! cflags_save=$CFLAGS
|
|
Karsten Hopp |
202618 |
! CFLAGS="$CFLAGS $threadsafe_flag"
|
|
Karsten Hopp |
202618 |
! LIBS="$LIBS $thread_lib"
|
|
Karsten Hopp |
202618 |
! AC_TRY_LINK(,[ ],
|
|
Karsten Hopp |
202618 |
! AC_MSG_RESULT(yes); PYTHON3_CFLAGS="$PYTHON3_CFLAGS $threadsafe_flag",
|
|
Karsten Hopp |
202618 |
! AC_MSG_RESULT(no); LIBS=$libs_save_old
|
|
Karsten Hopp |
202618 |
! )
|
|
Karsten Hopp |
202618 |
! CFLAGS=$cflags_save
|
|
Karsten Hopp |
202618 |
! else
|
|
Karsten Hopp |
202618 |
! AC_MSG_RESULT(no)
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! dnl check that compiling a simple program still works with the flags
|
|
Karsten Hopp |
202618 |
! dnl added for Python.
|
|
Karsten Hopp |
202618 |
! AC_MSG_CHECKING([if compile and link flags for Python 3 are sane])
|
|
Karsten Hopp |
202618 |
cflags_save=$CFLAGS
|
|
Karsten Hopp |
202618 |
! libs_save=$LIBS
|
|
Karsten Hopp |
202618 |
! CFLAGS="$CFLAGS $PYTHON3_CFLAGS"
|
|
Karsten Hopp |
202618 |
! LIBS="$LIBS $PYTHON3_LIBS"
|
|
Karsten Hopp |
202618 |
AC_TRY_LINK(,[ ],
|
|
Karsten Hopp |
202618 |
! AC_MSG_RESULT(yes); python3_ok=yes,
|
|
Karsten Hopp |
202618 |
! AC_MSG_RESULT(no: PYTHON3 DISABLED); python3_ok=no)
|
|
Karsten Hopp |
202618 |
CFLAGS=$cflags_save
|
|
Karsten Hopp |
202618 |
! LIBS=$libs_save
|
|
Karsten Hopp |
202618 |
! if test "$python3_ok" = yes; then
|
|
Karsten Hopp |
202618 |
! AC_DEFINE(FEAT_PYTHON3)
|
|
Karsten Hopp |
202618 |
! else
|
|
Karsten Hopp |
202618 |
! LIBS=$libs_save_old
|
|
Karsten Hopp |
202618 |
! PYTHON3_SRC=
|
|
Karsten Hopp |
202618 |
! PYTHON3_OBJ=
|
|
Karsten Hopp |
202618 |
! PYTHON3_LIBS=
|
|
Karsten Hopp |
202618 |
! PYTHON3_CFLAGS=
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
+ else
|
|
Karsten Hopp |
202618 |
+ AC_MSG_RESULT(too old)
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
***************
|
|
Karsten Hopp |
202618 |
*** 2442,2448 ****
|
|
Karsten Hopp |
202618 |
xmheader="Xm/Xm.h"
|
|
Karsten Hopp |
202618 |
else
|
|
Karsten Hopp |
202618 |
xmheader="Xm/Xm.h Xm/XpmP.h Xm/JoinSideT.h Xm/TraitP.h Xm/Manager.h
|
|
Karsten Hopp |
202618 |
! Xm/UnhighlightT.h Xm/Notebook.h"
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
AC_CHECK_HEADERS($xmheader)
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
--- 2457,2463 ----
|
|
Karsten Hopp |
202618 |
xmheader="Xm/Xm.h"
|
|
Karsten Hopp |
202618 |
else
|
|
Karsten Hopp |
202618 |
xmheader="Xm/Xm.h Xm/XpmP.h Xm/JoinSideT.h Xm/TraitP.h Xm/Manager.h
|
|
Karsten Hopp |
202618 |
! Xm/UnhighlightT.h Xm/Notebook.h"
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
AC_CHECK_HEADERS($xmheader)
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
***************
|
|
Karsten Hopp |
202618 |
*** 3356,3362 ****
|
|
Karsten Hopp |
202618 |
[#include <sys/types.h>
|
|
Karsten Hopp |
202618 |
#include <sys/sysinfo.h>],
|
|
Karsten Hopp |
202618 |
[ struct sysinfo sinfo;
|
|
Karsten Hopp |
202618 |
! sinfo.mem_unit = 1;
|
|
Karsten Hopp |
202618 |
],
|
|
Karsten Hopp |
202618 |
AC_MSG_RESULT(yes); AC_DEFINE(HAVE_SYSINFO_MEM_UNIT),
|
|
Karsten Hopp |
202618 |
AC_MSG_RESULT(no))
|
|
Karsten Hopp |
202618 |
--- 3371,3377 ----
|
|
Karsten Hopp |
202618 |
[#include <sys/types.h>
|
|
Karsten Hopp |
202618 |
#include <sys/sysinfo.h>],
|
|
Karsten Hopp |
202618 |
[ struct sysinfo sinfo;
|
|
Karsten Hopp |
202618 |
! sinfo.mem_unit = 1;
|
|
Karsten Hopp |
202618 |
],
|
|
Karsten Hopp |
202618 |
AC_MSG_RESULT(yes); AC_DEFINE(HAVE_SYSINFO_MEM_UNIT),
|
|
Karsten Hopp |
202618 |
AC_MSG_RESULT(no))
|
|
Karsten Hopp |
202618 |
*** ../vim-7.3.1166/src/auto/configure 2013-06-10 21:27:18.000000000 +0200
|
|
Karsten Hopp |
202618 |
--- src/auto/configure 2013-06-11 19:50:08.000000000 +0200
|
|
Karsten Hopp |
202618 |
***************
|
|
Karsten Hopp |
202618 |
*** 5431,5436 ****
|
|
Karsten Hopp |
202618 |
--- 5431,5439 ----
|
|
Karsten Hopp |
202618 |
threadsafe_flag="-D_THREAD_SAFE"
|
|
Karsten Hopp |
202618 |
thread_lib="-pthread"
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
+ if test "`(uname) 2>/dev/null`" = SunOS; then
|
|
Karsten Hopp |
202618 |
+ threadsafe_flag="-pthreads"
|
|
Karsten Hopp |
202618 |
+ fi
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
libs_save_old=$LIBS
|
|
Karsten Hopp |
202618 |
if test -n "$threadsafe_flag"; then
|
|
Karsten Hopp |
202618 |
***************
|
|
Karsten Hopp |
202618 |
*** 5502,5508 ****
|
|
Karsten Hopp |
202618 |
PYTHON_LIBS=
|
|
Karsten Hopp |
202618 |
PYTHON_CFLAGS=
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
-
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
else
|
|
Karsten Hopp |
202618 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: too old" >&5
|
|
Karsten Hopp |
202618 |
--- 5505,5510 ----
|
|
Karsten Hopp |
202618 |
***************
|
|
Karsten Hopp |
202618 |
*** 5594,5648 ****
|
|
Karsten Hopp |
202618 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_var_python3_version" >&5
|
|
Karsten Hopp |
202618 |
$as_echo "$vi_cv_var_python3_version" >&6; }
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python's abiflags" >&5
|
|
Karsten Hopp |
202618 |
$as_echo_n "checking Python's abiflags... " >&6; }
|
|
Karsten Hopp |
202618 |
if test "${vi_cv_var_python3_abiflags+set}" = set; then :
|
|
Karsten Hopp |
202618 |
$as_echo_n "(cached) " >&6
|
|
Karsten Hopp |
202618 |
else
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! vi_cv_var_python3_abiflags=
|
|
Karsten Hopp |
202618 |
! if ${vi_cv_path_python3} -c \
|
|
Karsten Hopp |
202618 |
! "import sys; sys.exit(${vi_cv_var_python3_version} < 3.2)"
|
|
Karsten Hopp |
202618 |
! then
|
|
Karsten Hopp |
202618 |
! vi_cv_var_python3_abiflags=`${vi_cv_path_python3} -c \
|
|
Karsten Hopp |
202618 |
! "import sys; print(sys.abiflags)"`
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_var_python3_abiflags" >&5
|
|
Karsten Hopp |
202618 |
$as_echo "$vi_cv_var_python3_abiflags" >&6; }
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python's install prefix" >&5
|
|
Karsten Hopp |
202618 |
$as_echo_n "checking Python's install prefix... " >&6; }
|
|
Karsten Hopp |
202618 |
if test "${vi_cv_path_python3_pfx+set}" = set; then :
|
|
Karsten Hopp |
202618 |
$as_echo_n "(cached) " >&6
|
|
Karsten Hopp |
202618 |
else
|
|
Karsten Hopp |
202618 |
vi_cv_path_python3_pfx=`
|
|
Karsten Hopp |
202618 |
! ${vi_cv_path_python3} -c \
|
|
Karsten Hopp |
202618 |
! "import sys; print(sys.prefix)"`
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_path_python3_pfx" >&5
|
|
Karsten Hopp |
202618 |
$as_echo "$vi_cv_path_python3_pfx" >&6; }
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python's execution prefix" >&5
|
|
Karsten Hopp |
202618 |
$as_echo_n "checking Python's execution prefix... " >&6; }
|
|
Karsten Hopp |
202618 |
if test "${vi_cv_path_python3_epfx+set}" = set; then :
|
|
Karsten Hopp |
202618 |
$as_echo_n "(cached) " >&6
|
|
Karsten Hopp |
202618 |
else
|
|
Karsten Hopp |
202618 |
vi_cv_path_python3_epfx=`
|
|
Karsten Hopp |
202618 |
! ${vi_cv_path_python3} -c \
|
|
Karsten Hopp |
202618 |
! "import sys; print(sys.exec_prefix)"`
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_path_python3_epfx" >&5
|
|
Karsten Hopp |
202618 |
$as_echo "$vi_cv_path_python3_epfx" >&6; }
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! if test "${vi_cv_path_python3path+set}" = set; then :
|
|
Karsten Hopp |
202618 |
$as_echo_n "(cached) " >&6
|
|
Karsten Hopp |
202618 |
else
|
|
Karsten Hopp |
202618 |
vi_cv_path_python3path=`
|
|
Karsten Hopp |
202618 |
! unset PYTHONPATH;
|
|
Karsten Hopp |
202618 |
! ${vi_cv_path_python3} -c \
|
|
Karsten Hopp |
202618 |
! "import sys, string; print(':'.join(sys.path))"`
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
--- 5596,5658 ----
|
|
Karsten Hopp |
202618 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_var_python3_version" >&5
|
|
Karsten Hopp |
202618 |
$as_echo "$vi_cv_var_python3_version" >&6; }
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python is 3.0 or better" >&5
|
|
Karsten Hopp |
202618 |
! $as_echo_n "checking Python is 3.0 or better... " >&6; }
|
|
Karsten Hopp |
202618 |
! if ${vi_cv_path_python3} -c \
|
|
Karsten Hopp |
202618 |
! "import sys; sys.exit(${vi_cv_var_python3_version} < 3.0)"
|
|
Karsten Hopp |
202618 |
! then
|
|
Karsten Hopp |
202618 |
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: yep" >&5
|
|
Karsten Hopp |
202618 |
! $as_echo "yep" >&6; }
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python's abiflags" >&5
|
|
Karsten Hopp |
202618 |
$as_echo_n "checking Python's abiflags... " >&6; }
|
|
Karsten Hopp |
202618 |
if test "${vi_cv_var_python3_abiflags+set}" = set; then :
|
|
Karsten Hopp |
202618 |
$as_echo_n "(cached) " >&6
|
|
Karsten Hopp |
202618 |
else
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! vi_cv_var_python3_abiflags=
|
|
Karsten Hopp |
202618 |
! if ${vi_cv_path_python3} -c \
|
|
Karsten Hopp |
202618 |
! "import sys; sys.exit(${vi_cv_var_python3_version} < 3.2)"
|
|
Karsten Hopp |
202618 |
! then
|
|
Karsten Hopp |
202618 |
! vi_cv_var_python3_abiflags=`${vi_cv_path_python3} -c \
|
|
Karsten Hopp |
202618 |
! "import sys; print(sys.abiflags)"`
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_var_python3_abiflags" >&5
|
|
Karsten Hopp |
202618 |
$as_echo "$vi_cv_var_python3_abiflags" >&6; }
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python's install prefix" >&5
|
|
Karsten Hopp |
202618 |
$as_echo_n "checking Python's install prefix... " >&6; }
|
|
Karsten Hopp |
202618 |
if test "${vi_cv_path_python3_pfx+set}" = set; then :
|
|
Karsten Hopp |
202618 |
$as_echo_n "(cached) " >&6
|
|
Karsten Hopp |
202618 |
else
|
|
Karsten Hopp |
202618 |
vi_cv_path_python3_pfx=`
|
|
Karsten Hopp |
202618 |
! ${vi_cv_path_python3} -c \
|
|
Karsten Hopp |
202618 |
! "import sys; print(sys.prefix)"`
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_path_python3_pfx" >&5
|
|
Karsten Hopp |
202618 |
$as_echo "$vi_cv_path_python3_pfx" >&6; }
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python's execution prefix" >&5
|
|
Karsten Hopp |
202618 |
$as_echo_n "checking Python's execution prefix... " >&6; }
|
|
Karsten Hopp |
202618 |
if test "${vi_cv_path_python3_epfx+set}" = set; then :
|
|
Karsten Hopp |
202618 |
$as_echo_n "(cached) " >&6
|
|
Karsten Hopp |
202618 |
else
|
|
Karsten Hopp |
202618 |
vi_cv_path_python3_epfx=`
|
|
Karsten Hopp |
202618 |
! ${vi_cv_path_python3} -c \
|
|
Karsten Hopp |
202618 |
! "import sys; print(sys.exec_prefix)"`
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_path_python3_epfx" >&5
|
|
Karsten Hopp |
202618 |
$as_echo "$vi_cv_path_python3_epfx" >&6; }
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! if test "${vi_cv_path_python3path+set}" = set; then :
|
|
Karsten Hopp |
202618 |
$as_echo_n "(cached) " >&6
|
|
Karsten Hopp |
202618 |
else
|
|
Karsten Hopp |
202618 |
vi_cv_path_python3path=`
|
|
Karsten Hopp |
202618 |
! unset PYTHONPATH;
|
|
Karsten Hopp |
202618 |
! ${vi_cv_path_python3} -c \
|
|
Karsten Hopp |
202618 |
! "import sys, string; print(':'.join(sys.path))"`
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
***************
|
|
Karsten Hopp |
202618 |
*** 5654,5702 ****
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python's configuration directory" >&5
|
|
Karsten Hopp |
202618 |
$as_echo_n "checking Python's configuration directory... " >&6; }
|
|
Karsten Hopp |
202618 |
if test "${vi_cv_path_python3_conf+set}" = set; then :
|
|
Karsten Hopp |
202618 |
$as_echo_n "(cached) " >&6
|
|
Karsten Hopp |
202618 |
else
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_conf=
|
|
Karsten Hopp |
202618 |
! config_dir="config"
|
|
Karsten Hopp |
202618 |
! if test "${vi_cv_var_python3_abiflags}" != ""; then
|
|
Karsten Hopp |
202618 |
! config_dir="${config_dir}-${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}"
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
! d=`${vi_cv_path_python3} -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('LIBPL'))"`
|
|
Karsten Hopp |
202618 |
! if test -d "$d" && test -f "$d/config.c"; then
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_conf="$d"
|
|
Karsten Hopp |
202618 |
! else
|
|
Karsten Hopp |
202618 |
! for path in "${vi_cv_path_python3_pfx}" "${vi_cv_path_python3_epfx}"; do
|
|
Karsten Hopp |
202618 |
! for subdir in lib64 lib share; do
|
|
Karsten Hopp |
202618 |
! d="${path}/${subdir}/python${vi_cv_var_python3_version}/${config_dir}"
|
|
Karsten Hopp |
202618 |
! if test -d "$d" && test -f "$d/config.c"; then
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_conf="$d"
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
! done
|
|
Karsten Hopp |
202618 |
! done
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_path_python3_conf" >&5
|
|
Karsten Hopp |
202618 |
$as_echo "$vi_cv_path_python3_conf" >&6; }
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! PYTHON3_CONFDIR="${vi_cv_path_python3_conf}"
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! if test "X$PYTHON3_CONFDIR" = "X"; then
|
|
Karsten Hopp |
202618 |
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find it!" >&5
|
|
Karsten Hopp |
202618 |
$as_echo "can't find it!" >&6; }
|
|
Karsten Hopp |
202618 |
! else
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! if test "${vi_cv_path_python3_plibs+set}" = set; then :
|
|
Karsten Hopp |
202618 |
$as_echo_n "(cached) " >&6
|
|
Karsten Hopp |
202618 |
else
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! pwd=`pwd`
|
|
Karsten Hopp |
202618 |
! tmp_mkf="$pwd/config-PyMake$$"
|
|
Karsten Hopp |
202618 |
! cat -- "${PYTHON3_CONFDIR}/Makefile" - <<'eof' >"${tmp_mkf}"
|
|
Karsten Hopp |
202618 |
__:
|
|
Karsten Hopp |
202618 |
@echo "python3_BASEMODLIBS='$(BASEMODLIBS)'"
|
|
Karsten Hopp |
202618 |
@echo "python3_LIBS='$(LIBS)'"
|
|
Karsten Hopp |
202618 |
--- 5664,5712 ----
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python's configuration directory" >&5
|
|
Karsten Hopp |
202618 |
$as_echo_n "checking Python's configuration directory... " >&6; }
|
|
Karsten Hopp |
202618 |
if test "${vi_cv_path_python3_conf+set}" = set; then :
|
|
Karsten Hopp |
202618 |
$as_echo_n "(cached) " >&6
|
|
Karsten Hopp |
202618 |
else
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_conf=
|
|
Karsten Hopp |
202618 |
! config_dir="config"
|
|
Karsten Hopp |
202618 |
! if test "${vi_cv_var_python3_abiflags}" != ""; then
|
|
Karsten Hopp |
202618 |
! config_dir="${config_dir}-${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}"
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
! d=`${vi_cv_path_python3} -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('LIBPL'))"`
|
|
Karsten Hopp |
202618 |
! if test -d "$d" && test -f "$d/config.c"; then
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_conf="$d"
|
|
Karsten Hopp |
202618 |
! else
|
|
Karsten Hopp |
202618 |
! for path in "${vi_cv_path_python3_pfx}" "${vi_cv_path_python3_epfx}"; do
|
|
Karsten Hopp |
202618 |
! for subdir in lib64 lib share; do
|
|
Karsten Hopp |
202618 |
! d="${path}/${subdir}/python${vi_cv_var_python3_version}/${config_dir}"
|
|
Karsten Hopp |
202618 |
! if test -d "$d" && test -f "$d/config.c"; then
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_conf="$d"
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
! done
|
|
Karsten Hopp |
202618 |
! done
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_path_python3_conf" >&5
|
|
Karsten Hopp |
202618 |
$as_echo "$vi_cv_path_python3_conf" >&6; }
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! PYTHON3_CONFDIR="${vi_cv_path_python3_conf}"
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! if test "X$PYTHON3_CONFDIR" = "X"; then
|
|
Karsten Hopp |
202618 |
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find it!" >&5
|
|
Karsten Hopp |
202618 |
$as_echo "can't find it!" >&6; }
|
|
Karsten Hopp |
202618 |
! else
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! if test "${vi_cv_path_python3_plibs+set}" = set; then :
|
|
Karsten Hopp |
202618 |
$as_echo_n "(cached) " >&6
|
|
Karsten Hopp |
202618 |
else
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! pwd=`pwd`
|
|
Karsten Hopp |
202618 |
! tmp_mkf="$pwd/config-PyMake$$"
|
|
Karsten Hopp |
202618 |
! cat -- "${PYTHON3_CONFDIR}/Makefile" - <<'eof' >"${tmp_mkf}"
|
|
Karsten Hopp |
202618 |
__:
|
|
Karsten Hopp |
202618 |
@echo "python3_BASEMODLIBS='$(BASEMODLIBS)'"
|
|
Karsten Hopp |
202618 |
@echo "python3_LIBS='$(LIBS)'"
|
|
Karsten Hopp |
202618 |
***************
|
|
Karsten Hopp |
202618 |
*** 5704,5748 ****
|
|
Karsten Hopp |
202618 |
@echo "python3_DLLLIBRARY='$(DLLLIBRARY)'"
|
|
Karsten Hopp |
202618 |
@echo "python3_INSTSONAME='$(INSTSONAME)'"
|
|
Karsten Hopp |
202618 |
eof
|
|
Karsten Hopp |
202618 |
! eval "`cd ${PYTHON3_CONFDIR} && make -f "${tmp_mkf}" __ | sed '/ directory /d'`"
|
|
Karsten Hopp |
202618 |
! rm -f -- "${tmp_mkf}"
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_plibs="-L${PYTHON3_CONFDIR} -lpython${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}"
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_plibs="${vi_cv_path_python3_plibs} ${python3_BASEMODLIBS} ${python3_LIBS} ${python3_SYSLIBS}"
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_plibs=`echo $vi_cv_path_python3_plibs | sed s/-ltermcap//`
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_plibs=`echo $vi_cv_path_python3_plibs | sed s/-lffi//`
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! if test "X$python3_DLLLIBRARY" != "X"; then
|
|
Karsten Hopp |
202618 |
! python3_INSTSONAME="$python3_DLLLIBRARY"
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
! PYTHON3_LIBS="${vi_cv_path_python3_plibs}"
|
|
Karsten Hopp |
202618 |
! if test "${vi_cv_path_python3_pfx}" = "${vi_cv_path_python3_epfx}"; then
|
|
Karsten Hopp |
202618 |
! PYTHON3_CFLAGS="-I${vi_cv_path_python3_pfx}/include/python${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags} -DPYTHON3_HOME=L\\\"${vi_cv_path_python3_pfx}\\\""
|
|
Karsten Hopp |
202618 |
! else
|
|
Karsten Hopp |
202618 |
! 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}\\\""
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
! PYTHON3_SRC="if_python3.c"
|
|
Karsten Hopp |
202618 |
! PYTHON3_OBJ="objects/if_python3.o"
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -pthread should be used" >&5
|
|
Karsten Hopp |
202618 |
$as_echo_n "checking if -pthread should be used... " >&6; }
|
|
Karsten Hopp |
202618 |
! threadsafe_flag=
|
|
Karsten Hopp |
202618 |
! thread_lib=
|
|
Karsten Hopp |
202618 |
! if test "`(uname) 2>/dev/null`" != Darwin; then
|
|
Karsten Hopp |
202618 |
! test "$GCC" = yes && threadsafe_flag="-pthread"
|
|
Karsten Hopp |
202618 |
! if test "`(uname) 2>/dev/null`" = FreeBSD; then
|
|
Karsten Hopp |
202618 |
! threadsafe_flag="-D_THREAD_SAFE"
|
|
Karsten Hopp |
202618 |
! thread_lib="-pthread"
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
! libs_save_old=$LIBS
|
|
Karsten Hopp |
202618 |
! if test -n "$threadsafe_flag"; then
|
|
Karsten Hopp |
202618 |
! cflags_save=$CFLAGS
|
|
Karsten Hopp |
202618 |
! CFLAGS="$CFLAGS $threadsafe_flag"
|
|
Karsten Hopp |
202618 |
! LIBS="$LIBS $thread_lib"
|
|
Karsten Hopp |
202618 |
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
Karsten Hopp |
202618 |
/* end confdefs.h. */
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
int
|
|
Karsten Hopp |
202618 |
--- 5714,5761 ----
|
|
Karsten Hopp |
202618 |
@echo "python3_DLLLIBRARY='$(DLLLIBRARY)'"
|
|
Karsten Hopp |
202618 |
@echo "python3_INSTSONAME='$(INSTSONAME)'"
|
|
Karsten Hopp |
202618 |
eof
|
|
Karsten Hopp |
202618 |
! eval "`cd ${PYTHON3_CONFDIR} && make -f "${tmp_mkf}" __ | sed '/ directory /d'`"
|
|
Karsten Hopp |
202618 |
! rm -f -- "${tmp_mkf}"
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_plibs="-L${PYTHON3_CONFDIR} -lpython${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}"
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_plibs="${vi_cv_path_python3_plibs} ${python3_BASEMODLIBS} ${python3_LIBS} ${python3_SYSLIBS}"
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_plibs=`echo $vi_cv_path_python3_plibs | sed s/-ltermcap//`
|
|
Karsten Hopp |
202618 |
! vi_cv_path_python3_plibs=`echo $vi_cv_path_python3_plibs | sed s/-lffi//`
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! if test "X$python3_DLLLIBRARY" != "X"; then
|
|
Karsten Hopp |
202618 |
! python3_INSTSONAME="$python3_DLLLIBRARY"
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
! PYTHON3_LIBS="${vi_cv_path_python3_plibs}"
|
|
Karsten Hopp |
202618 |
! if test "${vi_cv_path_python3_pfx}" = "${vi_cv_path_python3_epfx}"; then
|
|
Karsten Hopp |
202618 |
! PYTHON3_CFLAGS="-I${vi_cv_path_python3_pfx}/include/python${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags} -DPYTHON3_HOME=L\\\"${vi_cv_path_python3_pfx}\\\""
|
|
Karsten Hopp |
202618 |
! else
|
|
Karsten Hopp |
202618 |
! 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}\\\""
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
! PYTHON3_SRC="if_python3.c"
|
|
Karsten Hopp |
202618 |
! PYTHON3_OBJ="objects/if_python3.o"
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -pthread should be used" >&5
|
|
Karsten Hopp |
202618 |
$as_echo_n "checking if -pthread should be used... " >&6; }
|
|
Karsten Hopp |
202618 |
! threadsafe_flag=
|
|
Karsten Hopp |
202618 |
! thread_lib=
|
|
Karsten Hopp |
202618 |
! if test "`(uname) 2>/dev/null`" != Darwin; then
|
|
Karsten Hopp |
202618 |
! test "$GCC" = yes && threadsafe_flag="-pthread"
|
|
Karsten Hopp |
202618 |
! if test "`(uname) 2>/dev/null`" = FreeBSD; then
|
|
Karsten Hopp |
202618 |
! threadsafe_flag="-D_THREAD_SAFE"
|
|
Karsten Hopp |
202618 |
! thread_lib="-pthread"
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
! if test "`(uname) 2>/dev/null`" = SunOS; then
|
|
Karsten Hopp |
202618 |
! threadsafe_flag="-pthreads"
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
! libs_save_old=$LIBS
|
|
Karsten Hopp |
202618 |
! if test -n "$threadsafe_flag"; then
|
|
Karsten Hopp |
202618 |
! cflags_save=$CFLAGS
|
|
Karsten Hopp |
202618 |
! CFLAGS="$CFLAGS $threadsafe_flag"
|
|
Karsten Hopp |
202618 |
! LIBS="$LIBS $thread_lib"
|
|
Karsten Hopp |
202618 |
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
Karsten Hopp |
202618 |
/* end confdefs.h. */
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
int
|
|
Karsten Hopp |
202618 |
***************
|
|
Karsten Hopp |
202618 |
*** 5763,5781 ****
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
rm -f core conftest.err conftest.$ac_objext \
|
|
Karsten Hopp |
202618 |
conftest$ac_exeext conftest.$ac_ext
|
|
Karsten Hopp |
202618 |
! CFLAGS=$cflags_save
|
|
Karsten Hopp |
202618 |
! else
|
|
Karsten Hopp |
202618 |
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
Karsten Hopp |
202618 |
$as_echo "no" >&6; }
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compile and link flags for Python 3 are sane" >&5
|
|
Karsten Hopp |
202618 |
$as_echo_n "checking if compile and link flags for Python 3 are sane... " >&6; }
|
|
Karsten Hopp |
202618 |
! cflags_save=$CFLAGS
|
|
Karsten Hopp |
202618 |
! libs_save=$LIBS
|
|
Karsten Hopp |
202618 |
! CFLAGS="$CFLAGS $PYTHON3_CFLAGS"
|
|
Karsten Hopp |
202618 |
! LIBS="$LIBS $PYTHON3_LIBS"
|
|
Karsten Hopp |
202618 |
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
Karsten Hopp |
202618 |
/* end confdefs.h. */
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
int
|
|
Karsten Hopp |
202618 |
--- 5776,5794 ----
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
rm -f core conftest.err conftest.$ac_objext \
|
|
Karsten Hopp |
202618 |
conftest$ac_exeext conftest.$ac_ext
|
|
Karsten Hopp |
202618 |
! CFLAGS=$cflags_save
|
|
Karsten Hopp |
202618 |
! else
|
|
Karsten Hopp |
202618 |
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
Karsten Hopp |
202618 |
$as_echo "no" >&6; }
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compile and link flags for Python 3 are sane" >&5
|
|
Karsten Hopp |
202618 |
$as_echo_n "checking if compile and link flags for Python 3 are sane... " >&6; }
|
|
Karsten Hopp |
202618 |
! cflags_save=$CFLAGS
|
|
Karsten Hopp |
202618 |
! libs_save=$LIBS
|
|
Karsten Hopp |
202618 |
! CFLAGS="$CFLAGS $PYTHON3_CFLAGS"
|
|
Karsten Hopp |
202618 |
! LIBS="$LIBS $PYTHON3_LIBS"
|
|
Karsten Hopp |
202618 |
! cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
Karsten Hopp |
202618 |
/* end confdefs.h. */
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
int
|
|
Karsten Hopp |
202618 |
***************
|
|
Karsten Hopp |
202618 |
*** 5795,5812 ****
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
rm -f core conftest.err conftest.$ac_objext \
|
|
Karsten Hopp |
202618 |
conftest$ac_exeext conftest.$ac_ext
|
|
Karsten Hopp |
202618 |
! CFLAGS=$cflags_save
|
|
Karsten Hopp |
202618 |
! LIBS=$libs_save
|
|
Karsten Hopp |
202618 |
! if test "$python3_ok" = yes; then
|
|
Karsten Hopp |
202618 |
! $as_echo "#define FEAT_PYTHON3 1" >>confdefs.h
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! else
|
|
Karsten Hopp |
202618 |
! LIBS=$libs_save_old
|
|
Karsten Hopp |
202618 |
! PYTHON3_SRC=
|
|
Karsten Hopp |
202618 |
! PYTHON3_OBJ=
|
|
Karsten Hopp |
202618 |
! PYTHON3_LIBS=
|
|
Karsten Hopp |
202618 |
! PYTHON3_CFLAGS=
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
--- 5808,5829 ----
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
rm -f core conftest.err conftest.$ac_objext \
|
|
Karsten Hopp |
202618 |
conftest$ac_exeext conftest.$ac_ext
|
|
Karsten Hopp |
202618 |
! CFLAGS=$cflags_save
|
|
Karsten Hopp |
202618 |
! LIBS=$libs_save
|
|
Karsten Hopp |
202618 |
! if test "$python3_ok" = yes; then
|
|
Karsten Hopp |
202618 |
! $as_echo "#define FEAT_PYTHON3 1" >>confdefs.h
|
|
Karsten Hopp |
202618 |
!
|
|
Karsten Hopp |
202618 |
! else
|
|
Karsten Hopp |
202618 |
! LIBS=$libs_save_old
|
|
Karsten Hopp |
202618 |
! PYTHON3_SRC=
|
|
Karsten Hopp |
202618 |
! PYTHON3_OBJ=
|
|
Karsten Hopp |
202618 |
! PYTHON3_LIBS=
|
|
Karsten Hopp |
202618 |
! PYTHON3_CFLAGS=
|
|
Karsten Hopp |
202618 |
! fi
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
+ else
|
|
Karsten Hopp |
202618 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: too old" >&5
|
|
Karsten Hopp |
202618 |
+ $as_echo "too old" >&6; }
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
***************
|
|
Karsten Hopp |
202618 |
*** 8780,8786 ****
|
|
Karsten Hopp |
202618 |
xmheader="Xm/Xm.h"
|
|
Karsten Hopp |
202618 |
else
|
|
Karsten Hopp |
202618 |
xmheader="Xm/Xm.h Xm/XpmP.h Xm/JoinSideT.h Xm/TraitP.h Xm/Manager.h
|
|
Karsten Hopp |
202618 |
! Xm/UnhighlightT.h Xm/Notebook.h"
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
for ac_header in $xmheader
|
|
Karsten Hopp |
202618 |
do :
|
|
Karsten Hopp |
202618 |
--- 8797,8803 ----
|
|
Karsten Hopp |
202618 |
xmheader="Xm/Xm.h"
|
|
Karsten Hopp |
202618 |
else
|
|
Karsten Hopp |
202618 |
xmheader="Xm/Xm.h Xm/XpmP.h Xm/JoinSideT.h Xm/TraitP.h Xm/Manager.h
|
|
Karsten Hopp |
202618 |
! Xm/UnhighlightT.h Xm/Notebook.h"
|
|
Karsten Hopp |
202618 |
fi
|
|
Karsten Hopp |
202618 |
for ac_header in $xmheader
|
|
Karsten Hopp |
202618 |
do :
|
|
Karsten Hopp |
202618 |
***************
|
|
Karsten Hopp |
202618 |
*** 11777,11783 ****
|
|
Karsten Hopp |
202618 |
main ()
|
|
Karsten Hopp |
202618 |
{
|
|
Karsten Hopp |
202618 |
struct sysinfo sinfo;
|
|
Karsten Hopp |
202618 |
! sinfo.mem_unit = 1;
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
;
|
|
Karsten Hopp |
202618 |
return 0;
|
|
Karsten Hopp |
202618 |
--- 11794,11800 ----
|
|
Karsten Hopp |
202618 |
main ()
|
|
Karsten Hopp |
202618 |
{
|
|
Karsten Hopp |
202618 |
struct sysinfo sinfo;
|
|
Karsten Hopp |
202618 |
! sinfo.mem_unit = 1;
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
;
|
|
Karsten Hopp |
202618 |
return 0;
|
|
Karsten Hopp |
202618 |
*** ../vim-7.3.1166/src/version.c 2013-06-11 18:47:37.000000000 +0200
|
|
Karsten Hopp |
202618 |
--- src/version.c 2013-06-11 19:51:50.000000000 +0200
|
|
Karsten Hopp |
202618 |
***************
|
|
Karsten Hopp |
202618 |
*** 730,731 ****
|
|
Karsten Hopp |
202618 |
--- 730,733 ----
|
|
Karsten Hopp |
202618 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
202618 |
+ /**/
|
|
Karsten Hopp |
202618 |
+ 1167,
|
|
Karsten Hopp |
202618 |
/**/
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
--
|
|
Karsten Hopp |
202618 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
202618 |
147. You finally give up smoking...because it made the monitor dirty.
|
|
Karsten Hopp |
202618 |
|
|
Karsten Hopp |
202618 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
202618 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
202618 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
202618 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|