From 9bda5aa44d4e61a7b1357cb3b0d2981323fbcf8c Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 11 Aug 2008 21:46:38 +0000 Subject: [PATCH] we require at least autoconf 2.59c (objc support for mac os x) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26116 a592a061-630c-0410-9148-cb99ea01b6c8 --- INSTALL | 2 +- autogen.sh | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/INSTALL b/INSTALL index c0123e178e..142ee9766f 100644 --- a/INSTALL +++ b/INSTALL @@ -32,7 +32,7 @@ Note for Subversion (SVN) checkouts If you have checked this out from Subversion, you need to have: * automake >= 1.5 -* autoconf >= 2.52 +* autoconf >= 2.59c * gettext >= 0.12 Then type "./autogen.sh" to build the needed configuration files and proceed as stated below. diff --git a/autogen.sh b/autogen.sh index 4350394d2a..43f9d7e213 100755 --- a/autogen.sh +++ b/autogen.sh @@ -32,16 +32,17 @@ autoversion=`$AUTOCONF --version 2>/dev/null | head -n 1` test "$autoversion" != "" && { echo "Using $autoversion" } || { - echo "LyX requires autoconf >= 2.52" + echo "LyX requires autoconf >= 2.59c" exit 1 } + case $autoversion in - *' '2.5[2-9]|*' '2.60[ab]|*' '2.6[0-2]) + *' '2.59[cd]|*' '2.60[ab]|*' '2.6[0-2]) ;; *) echo "This autoconf version is not supported by LyX." - echo "LyX only supports autoconf 2.52-2.61." + echo "LyX only supports autoconf 2.59c-2.61." exit 1 ;; esac