|
Karsten Hopp |
265dac |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
265dac |
Subject: Patch 7.4.093
|
|
Karsten Hopp |
265dac |
Fcc: outbox
|
|
Karsten Hopp |
265dac |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
265dac |
Mime-Version: 1.0
|
|
Karsten Hopp |
265dac |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
265dac |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
265dac |
------------
|
|
Karsten Hopp |
265dac |
|
|
Karsten Hopp |
265dac |
Patch 7.4.093
|
|
Karsten Hopp |
265dac |
Problem: Configure can't use LuaJIT on ubuntu 12.04.
|
|
Karsten Hopp |
265dac |
Solution: Adjust the configure regexp that locates the version number.
|
|
Karsten Hopp |
265dac |
(Charles Strahan)
|
|
Karsten Hopp |
265dac |
Files: src/configure.in, src/auto/configure
|
|
Karsten Hopp |
265dac |
|
|
Karsten Hopp |
265dac |
|
|
Karsten Hopp |
265dac |
*** ../vim-7.4.092/src/configure.in 2013-11-04 04:57:46.000000000 +0100
|
|
Karsten Hopp |
265dac |
--- src/configure.in 2013-11-17 20:12:04.000000000 +0100
|
|
Karsten Hopp |
265dac |
***************
|
|
Karsten Hopp |
265dac |
*** 496,502 ****
|
|
Karsten Hopp |
265dac |
if test "X$vi_cv_path_luajit" != "X"; then
|
|
Karsten Hopp |
265dac |
dnl -- find LuaJIT version
|
|
Karsten Hopp |
265dac |
AC_CACHE_CHECK(LuaJIT version, vi_cv_version_luajit,
|
|
Karsten Hopp |
265dac |
! [ vi_cv_version_luajit=`${vi_cv_path_luajit} -v | sed 's/LuaJIT \([[0-9.]]*\)\.[[0-9]] .*/\1/'` ])
|
|
Karsten Hopp |
265dac |
AC_CACHE_CHECK(Lua version of LuaJIT, vi_cv_version_lua_luajit,
|
|
Karsten Hopp |
265dac |
[ vi_cv_version_lua_luajit=`${vi_cv_path_luajit} -e "print(_VERSION)" | sed 's/.* //'` ])
|
|
Karsten Hopp |
265dac |
vi_cv_path_lua="$vi_cv_path_luajit"
|
|
Karsten Hopp |
265dac |
--- 496,502 ----
|
|
Karsten Hopp |
265dac |
if test "X$vi_cv_path_luajit" != "X"; then
|
|
Karsten Hopp |
265dac |
dnl -- find LuaJIT version
|
|
Karsten Hopp |
265dac |
AC_CACHE_CHECK(LuaJIT version, vi_cv_version_luajit,
|
|
Karsten Hopp |
265dac |
! [ vi_cv_version_luajit=`${vi_cv_path_luajit} -v 2>&1 | sed 's/LuaJIT \([[0-9.]]*\)\.[[0-9]]\(-[[a-z0-9]]\+\)\? .*/\1/'` ])
|
|
Karsten Hopp |
265dac |
AC_CACHE_CHECK(Lua version of LuaJIT, vi_cv_version_lua_luajit,
|
|
Karsten Hopp |
265dac |
[ vi_cv_version_lua_luajit=`${vi_cv_path_luajit} -e "print(_VERSION)" | sed 's/.* //'` ])
|
|
Karsten Hopp |
265dac |
vi_cv_path_lua="$vi_cv_path_luajit"
|
|
Karsten Hopp |
265dac |
*** ../vim-7.4.092/src/auto/configure 2013-11-04 04:57:46.000000000 +0100
|
|
Karsten Hopp |
265dac |
--- src/auto/configure 2013-11-17 20:13:30.000000000 +0100
|
|
Karsten Hopp |
265dac |
***************
|
|
Karsten Hopp |
265dac |
*** 4743,4749 ****
|
|
Karsten Hopp |
265dac |
if test "${vi_cv_version_luajit+set}" = set; then :
|
|
Karsten Hopp |
265dac |
$as_echo_n "(cached) " >&6
|
|
Karsten Hopp |
265dac |
else
|
|
Karsten Hopp |
265dac |
! vi_cv_version_luajit=`${vi_cv_path_luajit} -v | sed 's/LuaJIT \([0-9.]*\)\.[0-9] .*/\1/'`
|
|
Karsten Hopp |
265dac |
fi
|
|
Karsten Hopp |
265dac |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_version_luajit" >&5
|
|
Karsten Hopp |
265dac |
$as_echo "$vi_cv_version_luajit" >&6; }
|
|
Karsten Hopp |
265dac |
--- 4743,4749 ----
|
|
Karsten Hopp |
265dac |
if test "${vi_cv_version_luajit+set}" = set; then :
|
|
Karsten Hopp |
265dac |
$as_echo_n "(cached) " >&6
|
|
Karsten Hopp |
265dac |
else
|
|
Karsten Hopp |
265dac |
! vi_cv_version_luajit=`${vi_cv_path_luajit} -v 2>&1 | sed 's/LuaJIT \([0-9.]*\)\.[0-9]\(-[a-z0-9]\+\)\? .*/\1/'`
|
|
Karsten Hopp |
265dac |
fi
|
|
Karsten Hopp |
265dac |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_version_luajit" >&5
|
|
Karsten Hopp |
265dac |
$as_echo "$vi_cv_version_luajit" >&6; }
|
|
Karsten Hopp |
265dac |
*** ../vim-7.4.092/src/version.c 2013-11-14 03:54:02.000000000 +0100
|
|
Karsten Hopp |
265dac |
--- src/version.c 2013-11-17 20:13:43.000000000 +0100
|
|
Karsten Hopp |
265dac |
***************
|
|
Karsten Hopp |
265dac |
*** 740,741 ****
|
|
Karsten Hopp |
265dac |
--- 740,743 ----
|
|
Karsten Hopp |
265dac |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
265dac |
+ /**/
|
|
Karsten Hopp |
265dac |
+ 93,
|
|
Karsten Hopp |
265dac |
/**/
|
|
Karsten Hopp |
265dac |
|
|
Karsten Hopp |
265dac |
--
|
|
Karsten Hopp |
265dac |
"Beware of bugs in the above code; I have only proved
|
|
Karsten Hopp |
265dac |
it correct, not tried it." -- Donald Knuth
|
|
Karsten Hopp |
265dac |
|
|
Karsten Hopp |
265dac |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
265dac |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
265dac |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
265dac |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|