|
Karsten Hopp |
d09d5a |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
d09d5a |
Subject: Patch 7.3.674
|
|
Karsten Hopp |
d09d5a |
Fcc: outbox
|
|
Karsten Hopp |
d09d5a |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
d09d5a |
Mime-Version: 1.0
|
|
Karsten Hopp |
d09d5a |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
d09d5a |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
d09d5a |
------------
|
|
Karsten Hopp |
d09d5a |
|
|
Karsten Hopp |
d09d5a |
Patch 7.3.674
|
|
Karsten Hopp |
d09d5a |
Problem: Can't compile with Lua/dyn on Cygwin.
|
|
Karsten Hopp |
d09d5a |
Solution: Adjust configure to use the right library name. (Ken Takata)
|
|
Karsten Hopp |
d09d5a |
Files: src/configure.in, src/auto/configure
|
|
Karsten Hopp |
d09d5a |
|
|
Karsten Hopp |
d09d5a |
|
|
Karsten Hopp |
d09d5a |
*** ../vim-7.3.673/src/configure.in 2012-09-21 13:26:44.000000000 +0200
|
|
Karsten Hopp |
d09d5a |
--- src/configure.in 2012-10-03 14:39:42.000000000 +0200
|
|
Karsten Hopp |
d09d5a |
***************
|
|
Karsten Hopp |
d09d5a |
*** 455,485 ****
|
|
Karsten Hopp |
d09d5a |
|
|
Karsten Hopp |
d09d5a |
LUA_INC=
|
|
Karsten Hopp |
d09d5a |
if test "X$vi_cv_path_lua_pfx" != "X"; then
|
|
Karsten Hopp |
d09d5a |
AC_MSG_CHECKING(if lua.h can be found in $vi_cv_path_lua_pfx/include)
|
|
Karsten Hopp |
d09d5a |
if test -f $vi_cv_path_lua_pfx/include/lua.h; then
|
|
Karsten Hopp |
d09d5a |
AC_MSG_RESULT(yes)
|
|
Karsten Hopp |
d09d5a |
else
|
|
Karsten Hopp |
d09d5a |
AC_MSG_RESULT(no)
|
|
Karsten Hopp |
d09d5a |
! dnl -- try to find Lua executable
|
|
Karsten Hopp |
d09d5a |
! AC_PATH_PROG(vi_cv_path_lua, lua)
|
|
Karsten Hopp |
d09d5a |
! if test "X$vi_cv_path_lua" != "X"; then
|
|
Karsten Hopp |
d09d5a |
! dnl -- find Lua version
|
|
Karsten Hopp |
d09d5a |
! AC_CACHE_CHECK(Lua version, vi_cv_version_lua,
|
|
Karsten Hopp |
d09d5a |
! [ vi_cv_version_lua=`${vi_cv_path_lua} -e "print(_VERSION)" | sed 's/.* //'` ])
|
|
Karsten Hopp |
d09d5a |
! AC_MSG_CHECKING(if lua.h can be found in $vi_cv_path_lua_pfx/include/lua$vi_cv_version_lua)
|
|
Karsten Hopp |
d09d5a |
! if test -f $vi_cv_path_lua_pfx/include/lua$vi_cv_version_lua/lua.h; then
|
|
Karsten Hopp |
d09d5a |
! AC_MSG_RESULT(yes)
|
|
Karsten Hopp |
d09d5a |
! LUA_INC=/lua$vi_cv_version_lua
|
|
Karsten Hopp |
d09d5a |
! else
|
|
Karsten Hopp |
d09d5a |
! AC_MSG_RESULT(no)
|
|
Karsten Hopp |
d09d5a |
! vi_cv_path_lua_pfx=
|
|
Karsten Hopp |
d09d5a |
! fi
|
|
Karsten Hopp |
d09d5a |
fi
|
|
Karsten Hopp |
d09d5a |
fi
|
|
Karsten Hopp |
d09d5a |
fi
|
|
Karsten Hopp |
d09d5a |
|
|
Karsten Hopp |
d09d5a |
if test "X$vi_cv_path_lua_pfx" != "X"; then
|
|
Karsten Hopp |
d09d5a |
! if test "X$vi_cv_version_lua" != "X"; then
|
|
Karsten Hopp |
d09d5a |
dnl Test alternate location using version
|
|
Karsten Hopp |
d09d5a |
LUA_LIBS="-L${vi_cv_path_lua_pfx}/lib -llua$vi_cv_version_lua"
|
|
Karsten Hopp |
d09d5a |
else
|
|
Karsten Hopp |
d09d5a |
--- 455,485 ----
|
|
Karsten Hopp |
d09d5a |
|
|
Karsten Hopp |
d09d5a |
LUA_INC=
|
|
Karsten Hopp |
d09d5a |
if test "X$vi_cv_path_lua_pfx" != "X"; then
|
|
Karsten Hopp |
d09d5a |
+ dnl -- try to find Lua executable
|
|
Karsten Hopp |
d09d5a |
+ AC_PATH_PROG(vi_cv_path_lua, lua)
|
|
Karsten Hopp |
d09d5a |
+ if test "X$vi_cv_path_lua" != "X"; then
|
|
Karsten Hopp |
d09d5a |
+ dnl -- find Lua version
|
|
Karsten Hopp |
d09d5a |
+ AC_CACHE_CHECK(Lua version, vi_cv_version_lua,
|
|
Karsten Hopp |
d09d5a |
+ [ vi_cv_version_lua=`${vi_cv_path_lua} -e "print(_VERSION)" | sed 's/.* //'` ])
|
|
Karsten Hopp |
d09d5a |
+ fi
|
|
Karsten Hopp |
d09d5a |
AC_MSG_CHECKING(if lua.h can be found in $vi_cv_path_lua_pfx/include)
|
|
Karsten Hopp |
d09d5a |
if test -f $vi_cv_path_lua_pfx/include/lua.h; then
|
|
Karsten Hopp |
d09d5a |
AC_MSG_RESULT(yes)
|
|
Karsten Hopp |
d09d5a |
else
|
|
Karsten Hopp |
d09d5a |
AC_MSG_RESULT(no)
|
|
Karsten Hopp |
d09d5a |
! AC_MSG_CHECKING(if lua.h can be found in $vi_cv_path_lua_pfx/include/lua$vi_cv_version_lua)
|
|
Karsten Hopp |
d09d5a |
! if test -f $vi_cv_path_lua_pfx/include/lua$vi_cv_version_lua/lua.h; then
|
|
Karsten Hopp |
d09d5a |
! AC_MSG_RESULT(yes)
|
|
Karsten Hopp |
d09d5a |
! LUA_INC=/lua$vi_cv_version_lua
|
|
Karsten Hopp |
d09d5a |
! else
|
|
Karsten Hopp |
d09d5a |
! AC_MSG_RESULT(no)
|
|
Karsten Hopp |
d09d5a |
! vi_cv_path_lua_pfx=
|
|
Karsten Hopp |
d09d5a |
fi
|
|
Karsten Hopp |
d09d5a |
fi
|
|
Karsten Hopp |
d09d5a |
fi
|
|
Karsten Hopp |
d09d5a |
|
|
Karsten Hopp |
d09d5a |
if test "X$vi_cv_path_lua_pfx" != "X"; then
|
|
Karsten Hopp |
d09d5a |
! if test "X$LUA_INC" != "X"; then
|
|
Karsten Hopp |
d09d5a |
dnl Test alternate location using version
|
|
Karsten Hopp |
d09d5a |
LUA_LIBS="-L${vi_cv_path_lua_pfx}/lib -llua$vi_cv_version_lua"
|
|
Karsten Hopp |
d09d5a |
else
|
|
Karsten Hopp |
d09d5a |
***************
|
|
Karsten Hopp |
d09d5a |
*** 491,507 ****
|
|
Karsten Hopp |
d09d5a |
LUA_PRO="if_lua.pro"
|
|
Karsten Hopp |
d09d5a |
AC_DEFINE(FEAT_LUA)
|
|
Karsten Hopp |
d09d5a |
if test "$enable_luainterp" = "dynamic"; then
|
|
Karsten Hopp |
d09d5a |
! dnl Determine the SONAME for the current version, but fallback to
|
|
Karsten Hopp |
d09d5a |
! dnl liblua${vi_cv_version_lua}.so if no SONAME-versioned file is found.
|
|
Karsten Hopp |
d09d5a |
! for i in 0 1 2 3 4 5 6 7 8 9; do
|
|
Karsten Hopp |
d09d5a |
! if test -f "${vi_cv_path_lua_pfx}/lib/liblua${vi_cv_version_lua}.so.$i"; then
|
|
Karsten Hopp |
d09d5a |
! LUA_SONAME=".$i"
|
|
Karsten Hopp |
d09d5a |
! break
|
|
Karsten Hopp |
d09d5a |
! fi
|
|
Karsten Hopp |
d09d5a |
! done
|
|
Karsten Hopp |
d09d5a |
AC_DEFINE(DYNAMIC_LUA)
|
|
Karsten Hopp |
d09d5a |
LUA_LIBS=""
|
|
Karsten Hopp |
d09d5a |
! LUA_CFLAGS="-DDYNAMIC_LUA_DLL=\\\"liblua${vi_cv_version_lua}.so$LUA_SONAME\\\" $LUA_CFLAGS"
|
|
Karsten Hopp |
d09d5a |
fi
|
|
Karsten Hopp |
d09d5a |
fi
|
|
Karsten Hopp |
d09d5a |
if test "$fail_if_missing" = "yes" -a -z "$LUA_SRC"; then
|
|
Karsten Hopp |
d09d5a |
--- 491,512 ----
|
|
Karsten Hopp |
d09d5a |
LUA_PRO="if_lua.pro"
|
|
Karsten Hopp |
d09d5a |
AC_DEFINE(FEAT_LUA)
|
|
Karsten Hopp |
d09d5a |
if test "$enable_luainterp" = "dynamic"; then
|
|
Karsten Hopp |
d09d5a |
! if test -f "${vi_cv_path_lua_pfx}/bin/cyglua-${vi_cv_version_lua}.dll"; then
|
|
Karsten Hopp |
d09d5a |
! vi_cv_dll_name_lua="cyglua-${vi_cv_version_lua}.dll"
|
|
Karsten Hopp |
d09d5a |
! else
|
|
Karsten Hopp |
d09d5a |
! dnl Determine the SONAME for the current version, but fallback to
|
|
Karsten Hopp |
d09d5a |
! dnl liblua${vi_cv_version_lua}.so if no SONAME-versioned file is found.
|
|
Karsten Hopp |
d09d5a |
! for i in 0 1 2 3 4 5 6 7 8 9; do
|
|
Karsten Hopp |
d09d5a |
! if test -f "${vi_cv_path_lua_pfx}/lib/liblua${vi_cv_version_lua}.so.$i"; then
|
|
Karsten Hopp |
d09d5a |
! LUA_SONAME=".$i"
|
|
Karsten Hopp |
d09d5a |
! break
|
|
Karsten Hopp |
d09d5a |
! fi
|
|
Karsten Hopp |
d09d5a |
! done
|
|
Karsten Hopp |
d09d5a |
! vi_cv_dll_name_lua="liblua${vi_cv_version_lua}.so$LUA_SONAME"
|
|
Karsten Hopp |
d09d5a |
! fi
|
|
Karsten Hopp |
d09d5a |
AC_DEFINE(DYNAMIC_LUA)
|
|
Karsten Hopp |
d09d5a |
LUA_LIBS=""
|
|
Karsten Hopp |
d09d5a |
! LUA_CFLAGS="-DDYNAMIC_LUA_DLL=\\\"${vi_cv_dll_name_lua}\\\" $LUA_CFLAGS"
|
|
Karsten Hopp |
d09d5a |
fi
|
|
Karsten Hopp |
d09d5a |
fi
|
|
Karsten Hopp |
d09d5a |
if test "$fail_if_missing" = "yes" -a -z "$LUA_SRC"; then
|
|
Karsten Hopp |
d09d5a |
*** ../vim-7.3.673/src/auto/configure 2012-09-21 13:26:44.000000000 +0200
|
|
Karsten Hopp |
d09d5a |
--- src/auto/configure 2012-10-03 14:42:13.000000000 +0200
|
|
Karsten Hopp |
d09d5a |
***************
|
|
Karsten Hopp |
d09d5a |
*** 4648,4662 ****
|
|
Karsten Hopp |
d09d5a |
|
|
Karsten Hopp |
d09d5a |
LUA_INC=
|
|
Karsten Hopp |
d09d5a |
if test "X$vi_cv_path_lua_pfx" != "X"; then
|
|
Karsten Hopp |
d09d5a |
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if lua.h can be found in $vi_cv_path_lua_pfx/include" >&5
|
|
Karsten Hopp |
d09d5a |
! $as_echo_n "checking if lua.h can be found in $vi_cv_path_lua_pfx/include... " >&6; }
|
|
Karsten Hopp |
d09d5a |
! if test -f $vi_cv_path_lua_pfx/include/lua.h; then
|
|
Karsten Hopp |
d09d5a |
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
Karsten Hopp |
d09d5a |
! $as_echo "yes" >&6; }
|
|
Karsten Hopp |
d09d5a |
! else
|
|
Karsten Hopp |
d09d5a |
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
Karsten Hopp |
d09d5a |
! $as_echo "no" >&6; }
|
|
Karsten Hopp |
d09d5a |
! # Extract the first word of "lua", so it can be a program name with args.
|
|
Karsten Hopp |
d09d5a |
set dummy lua; ac_word=$2
|
|
Karsten Hopp |
d09d5a |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
Karsten Hopp |
d09d5a |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
Karsten Hopp |
d09d5a |
--- 4648,4654 ----
|
|
Karsten Hopp |
d09d5a |
|
|
Karsten Hopp |
d09d5a |
LUA_INC=
|
|
Karsten Hopp |
d09d5a |
if test "X$vi_cv_path_lua_pfx" != "X"; then
|
|
Karsten Hopp |
d09d5a |
! # Extract the first word of "lua", so it can be a program name with args.
|
|
Karsten Hopp |
d09d5a |
set dummy lua; ac_word=$2
|
|
Karsten Hopp |
d09d5a |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
Karsten Hopp |
d09d5a |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
Karsten Hopp |
d09d5a |
***************
|
|
Karsten Hopp |
d09d5a |
*** 4696,4703 ****
|
|
Karsten Hopp |
d09d5a |
fi
|
|
Karsten Hopp |
d09d5a |
|
|
Karsten Hopp |
d09d5a |
|
|
Karsten Hopp |
d09d5a |
! if test "X$vi_cv_path_lua" != "X"; then
|
|
Karsten Hopp |
d09d5a |
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking Lua version" >&5
|
|
Karsten Hopp |
d09d5a |
$as_echo_n "checking Lua version... " >&6; }
|
|
Karsten Hopp |
d09d5a |
if test "${vi_cv_version_lua+set}" = set; then :
|
|
Karsten Hopp |
d09d5a |
$as_echo_n "(cached) " >&6
|
|
Karsten Hopp |
d09d5a |
--- 4688,4695 ----
|
|
Karsten Hopp |
d09d5a |
fi
|
|
Karsten Hopp |
d09d5a |
|
|
Karsten Hopp |
d09d5a |
|
|
Karsten Hopp |
d09d5a |
! if test "X$vi_cv_path_lua" != "X"; then
|
|
Karsten Hopp |
d09d5a |
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking Lua version" >&5
|
|
Karsten Hopp |
d09d5a |
$as_echo_n "checking Lua version... " >&6; }
|
|
Karsten Hopp |
d09d5a |
if test "${vi_cv_version_lua+set}" = set; then :
|
|
Karsten Hopp |
d09d5a |
$as_echo_n "(cached) " >&6
|
|
Karsten Hopp |
d09d5a |
***************
|
|
Karsten Hopp |
d09d5a |
*** 4706,4728 ****
|
|
Karsten Hopp |
d09d5a |
fi
|
|
Karsten Hopp |
d09d5a |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_version_lua" >&5
|
|
Karsten Hopp |
d09d5a |
$as_echo "$vi_cv_version_lua" >&6; }
|
|
Karsten Hopp |
d09d5a |
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if lua.h can be found in $vi_cv_path_lua_pfx/include/lua$vi_cv_version_lua" >&5
|
|
Karsten Hopp |
d09d5a |
$as_echo_n "checking if lua.h can be found in $vi_cv_path_lua_pfx/include/lua$vi_cv_version_lua... " >&6; }
|
|
Karsten Hopp |
d09d5a |
! if test -f $vi_cv_path_lua_pfx/include/lua$vi_cv_version_lua/lua.h; then
|
|
Karsten Hopp |
d09d5a |
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
Karsten Hopp |
d09d5a |
$as_echo "yes" >&6; }
|
|
Karsten Hopp |
d09d5a |
! LUA_INC=/lua$vi_cv_version_lua
|
|
Karsten Hopp |
d09d5a |
! else
|
|
Karsten Hopp |
d09d5a |
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
Karsten Hopp |
d09d5a |
$as_echo "no" >&6; }
|
|
Karsten Hopp |
d09d5a |
! vi_cv_path_lua_pfx=
|
|
Karsten Hopp |
d09d5a |
! fi
|
|
Karsten Hopp |
d09d5a |
fi
|
|
Karsten Hopp |
d09d5a |
fi
|
|
Karsten Hopp |
d09d5a |
fi
|
|
Karsten Hopp |
d09d5a |
|
|
Karsten Hopp |
d09d5a |
if test "X$vi_cv_path_lua_pfx" != "X"; then
|
|
Karsten Hopp |
d09d5a |
! if test "X$vi_cv_version_lua" != "X"; then
|
|
Karsten Hopp |
d09d5a |
LUA_LIBS="-L${vi_cv_path_lua_pfx}/lib -llua$vi_cv_version_lua"
|
|
Karsten Hopp |
d09d5a |
else
|
|
Karsten Hopp |
d09d5a |
LUA_LIBS="-L${vi_cv_path_lua_pfx}/lib -llua"
|
|
Karsten Hopp |
d09d5a |
--- 4698,4728 ----
|
|
Karsten Hopp |
d09d5a |
fi
|
|
Karsten Hopp |
d09d5a |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_version_lua" >&5
|
|
Karsten Hopp |
d09d5a |
$as_echo "$vi_cv_version_lua" >&6; }
|
|
Karsten Hopp |
d09d5a |
! fi
|
|
Karsten Hopp |
d09d5a |
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if lua.h can be found in $vi_cv_path_lua_pfx/include" >&5
|
|
Karsten Hopp |
d09d5a |
! $as_echo_n "checking if lua.h can be found in $vi_cv_path_lua_pfx/include... " >&6; }
|
|
Karsten Hopp |
d09d5a |
! if test -f $vi_cv_path_lua_pfx/include/lua.h; then
|
|
Karsten Hopp |
d09d5a |
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
Karsten Hopp |
d09d5a |
! $as_echo "yes" >&6; }
|
|
Karsten Hopp |
d09d5a |
! else
|
|
Karsten Hopp |
d09d5a |
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
Karsten Hopp |
d09d5a |
! $as_echo "no" >&6; }
|
|
Karsten Hopp |
d09d5a |
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if lua.h can be found in $vi_cv_path_lua_pfx/include/lua$vi_cv_version_lua" >&5
|
|
Karsten Hopp |
d09d5a |
$as_echo_n "checking if lua.h can be found in $vi_cv_path_lua_pfx/include/lua$vi_cv_version_lua... " >&6; }
|
|
Karsten Hopp |
d09d5a |
! if test -f $vi_cv_path_lua_pfx/include/lua$vi_cv_version_lua/lua.h; then
|
|
Karsten Hopp |
d09d5a |
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
Karsten Hopp |
d09d5a |
$as_echo "yes" >&6; }
|
|
Karsten Hopp |
d09d5a |
! LUA_INC=/lua$vi_cv_version_lua
|
|
Karsten Hopp |
d09d5a |
! else
|
|
Karsten Hopp |
d09d5a |
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
Karsten Hopp |
d09d5a |
$as_echo "no" >&6; }
|
|
Karsten Hopp |
d09d5a |
! vi_cv_path_lua_pfx=
|
|
Karsten Hopp |
d09d5a |
fi
|
|
Karsten Hopp |
d09d5a |
fi
|
|
Karsten Hopp |
d09d5a |
fi
|
|
Karsten Hopp |
d09d5a |
|
|
Karsten Hopp |
d09d5a |
if test "X$vi_cv_path_lua_pfx" != "X"; then
|
|
Karsten Hopp |
d09d5a |
! if test "X$LUA_INC" != "X"; then
|
|
Karsten Hopp |
d09d5a |
LUA_LIBS="-L${vi_cv_path_lua_pfx}/lib -llua$vi_cv_version_lua"
|
|
Karsten Hopp |
d09d5a |
else
|
|
Karsten Hopp |
d09d5a |
LUA_LIBS="-L${vi_cv_path_lua_pfx}/lib -llua"
|
|
Karsten Hopp |
d09d5a |
***************
|
|
Karsten Hopp |
d09d5a |
*** 4734,4749 ****
|
|
Karsten Hopp |
d09d5a |
$as_echo "#define FEAT_LUA 1" >>confdefs.h
|
|
Karsten Hopp |
d09d5a |
|
|
Karsten Hopp |
d09d5a |
if test "$enable_luainterp" = "dynamic"; then
|
|
Karsten Hopp |
d09d5a |
! for i in 0 1 2 3 4 5 6 7 8 9; do
|
|
Karsten Hopp |
d09d5a |
! if test -f "${vi_cv_path_lua_pfx}/lib/liblua${vi_cv_version_lua}.so.$i"; then
|
|
Karsten Hopp |
d09d5a |
! LUA_SONAME=".$i"
|
|
Karsten Hopp |
d09d5a |
! break
|
|
Karsten Hopp |
d09d5a |
! fi
|
|
Karsten Hopp |
d09d5a |
! done
|
|
Karsten Hopp |
d09d5a |
$as_echo "#define DYNAMIC_LUA 1" >>confdefs.h
|
|
Karsten Hopp |
d09d5a |
|
|
Karsten Hopp |
d09d5a |
LUA_LIBS=""
|
|
Karsten Hopp |
d09d5a |
! LUA_CFLAGS="-DDYNAMIC_LUA_DLL=\\\"liblua${vi_cv_version_lua}.so$LUA_SONAME\\\" $LUA_CFLAGS"
|
|
Karsten Hopp |
d09d5a |
fi
|
|
Karsten Hopp |
d09d5a |
fi
|
|
Karsten Hopp |
d09d5a |
if test "$fail_if_missing" = "yes" -a -z "$LUA_SRC"; then
|
|
Karsten Hopp |
d09d5a |
--- 4734,4754 ----
|
|
Karsten Hopp |
d09d5a |
$as_echo "#define FEAT_LUA 1" >>confdefs.h
|
|
Karsten Hopp |
d09d5a |
|
|
Karsten Hopp |
d09d5a |
if test "$enable_luainterp" = "dynamic"; then
|
|
Karsten Hopp |
d09d5a |
! if test -f "${vi_cv_path_lua_pfx}/bin/cyglua-${vi_cv_version_lua}.dll"; then
|
|
Karsten Hopp |
d09d5a |
! vi_cv_dll_name_lua="cyglua-${vi_cv_version_lua}.dll"
|
|
Karsten Hopp |
d09d5a |
! else
|
|
Karsten Hopp |
d09d5a |
! for i in 0 1 2 3 4 5 6 7 8 9; do
|
|
Karsten Hopp |
d09d5a |
! if test -f "${vi_cv_path_lua_pfx}/lib/liblua${vi_cv_version_lua}.so.$i"; then
|
|
Karsten Hopp |
d09d5a |
! LUA_SONAME=".$i"
|
|
Karsten Hopp |
d09d5a |
! break
|
|
Karsten Hopp |
d09d5a |
! fi
|
|
Karsten Hopp |
d09d5a |
! done
|
|
Karsten Hopp |
d09d5a |
! vi_cv_dll_name_lua="liblua${vi_cv_version_lua}.so$LUA_SONAME"
|
|
Karsten Hopp |
d09d5a |
! fi
|
|
Karsten Hopp |
d09d5a |
$as_echo "#define DYNAMIC_LUA 1" >>confdefs.h
|
|
Karsten Hopp |
d09d5a |
|
|
Karsten Hopp |
d09d5a |
LUA_LIBS=""
|
|
Karsten Hopp |
d09d5a |
! LUA_CFLAGS="-DDYNAMIC_LUA_DLL=\\\"${vi_cv_dll_name_lua}\\\" $LUA_CFLAGS"
|
|
Karsten Hopp |
d09d5a |
fi
|
|
Karsten Hopp |
d09d5a |
fi
|
|
Karsten Hopp |
d09d5a |
if test "$fail_if_missing" = "yes" -a -z "$LUA_SRC"; then
|
|
Karsten Hopp |
d09d5a |
*** ../vim-7.3.673/src/version.c 2012-10-03 13:35:45.000000000 +0200
|
|
Karsten Hopp |
d09d5a |
--- src/version.c 2012-10-03 14:44:56.000000000 +0200
|
|
Karsten Hopp |
d09d5a |
***************
|
|
Karsten Hopp |
d09d5a |
*** 721,722 ****
|
|
Karsten Hopp |
d09d5a |
--- 721,724 ----
|
|
Karsten Hopp |
d09d5a |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
d09d5a |
+ /**/
|
|
Karsten Hopp |
d09d5a |
+ 674,
|
|
Karsten Hopp |
d09d5a |
/**/
|
|
Karsten Hopp |
d09d5a |
|
|
Karsten Hopp |
d09d5a |
--
|
|
Karsten Hopp |
d09d5a |
The Law, in its majestic equality, forbids the rich, as well as the
|
|
Karsten Hopp |
d09d5a |
poor, to sleep under the bridges, to beg in the streets, and to steal
|
|
Karsten Hopp |
d09d5a |
bread. -- Anatole France
|
|
Karsten Hopp |
d09d5a |
|
|
Karsten Hopp |
d09d5a |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
d09d5a |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
d09d5a |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
d09d5a |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|