Allow using autoconf 2.66 and 2.68 (both work flawlessly with LyX) and avoid

the warnings issued by AC_LINK_IFELSE if the first argument is not conforming.
See http://lists.gnu.org/archive/html/autoconf/2010-09/msg00069.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37045 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2010-12-30 02:47:54 +00:00
parent 844d8d0b27
commit 7fb335c9ae
3 changed files with 4 additions and 3 deletions

View File

@ -38,11 +38,11 @@ test "$autoversion" != "" && {
case $autoversion in
*' '2.59[cd]|*' '2.60[ab]|*' '2.6[0-57])
*' '2.59[cd]|*' '2.60[ab]|*' '2.6[0-8])
;;
*)
echo "This autoconf version is not supported by LyX."
echo "LyX only supports autoconf 2.59c-2.65, 2.67."
echo "LyX only supports autoconf 2.59c-2.68."
exit 1
;;
esac

2
config/libtool.m4 vendored
View File

@ -362,7 +362,7 @@ AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
# to the aix ld manual.
AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
[AC_REQUIRE([LT_AC_PROG_SED])dnl
AC_LINK_IFELSE(AC_LANG_PROGRAM,[
AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],[
lt_aix_libpath_sed='
/Import File Strings/,/^$/ {
/^0/ {

View File

@ -46,6 +46,7 @@ What's new
* BUILD/INSTALLATION
- Allow using autoconf 2.66 and 2.68.