Remove bash-only construct from autogen.sh

This commit is contained in:
Jean-Marc Lasgouttes 2015-05-20 12:24:16 +02:00
parent 0b8eb5dc73
commit d4b3de581c
2 changed files with 4 additions and 3 deletions

View File

@ -19,7 +19,6 @@ case $automake_version in
*' '1.[8-9]*|*' '1.1[01234]*)
;;
*)
echo "This automake version is not supported by LyX."
echo "LyX only supports automake 1.8 to 1.14."
exit 1
@ -36,7 +35,6 @@ test "$autoversion" != "" && {
exit 1
}
case $autoversion in
*' '2.60[ab]|*' '2.6[0-9])
;;
@ -85,7 +83,9 @@ else
fi
echo "Building po/POTFILES.in..."
if (! make -s -f po/Rules-lyx srcdir=po top_srcdir=. po/POTFILES.in ); then
if ( make -s -f po/Rules-lyx srcdir=po top_srcdir=. po/POTFILES.in ); then
:
else
echo "Building po/POTFILES.in failed -- aborting"
exit 1
fi

View File

@ -246,3 +246,4 @@ What's new
- Fix build with gcc 5.1 using libstdc++ with C++11 ABI.
- Fix bash-ism in ./autogen.sh script.