allow automake >= 1.5

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18039 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2007-04-26 14:49:31 +00:00
parent bf2221d990
commit 48b0e2561a
3 changed files with 5 additions and 5 deletions

View File

@ -30,7 +30,7 @@ Note for Subversion checkouts
-----------------------------
If you have checked this out from Subversion, you need to have:
* automake >= 1.9
* automake >= 1.5
* autoconf >= 2.52
* gettext >= 0.12
Then type "./autogen.sh" to build the needed configuration

View File

@ -11,17 +11,17 @@ automake_version=`$AUTOMAKE --version 2>/dev/null | head -n 1`
test "$automake_version" != "" && {
echo "Using $automake_version"
} || {
echo "LyX requires automake >= 1.9"
echo "LyX requires automake >= 1.5"
exit 1
}
case $automake_version in
*' '1.9*|*' '1.10*)
*' '1.[5-9]*|*' '1.10*)
;;
*)
echo "This automake version is not supported by LyX."
echo "LyX only supports automake 1.9 and 1.10."
echo "LyX only supports automake 1.5 to 1.10."
exit 1
;;
esac

View File

@ -25,7 +25,7 @@ fi
AM_MAINTAINER_MODE
save_PACKAGE=$PACKAGE
AM_INIT_AUTOMAKE([foreign dist-bzip2 no-define 1.9])
AM_INIT_AUTOMAKE([foreign dist-bzip2 no-define 1.5])
PACKAGE=$save_PACKAGE
### Set the execute permissions of the various scripts correctly