Remove bash-only construct from autogen.sh

This commit is contained in:
Jean-Marc Lasgouttes 2015-05-20 12:24:16 +02:00
parent 32148586a8
commit 4bb8725c69

View File

@ -19,7 +19,6 @@ case $automake_version in
*' '1.[8-9]*|*' '1.1[012345]*) *' '1.[8-9]*|*' '1.1[012345]*)
;; ;;
*) *)
echo "This automake version is not supported by LyX." echo "This automake version is not supported by LyX."
echo "LyX only supports automake 1.8 to 1.15." echo "LyX only supports automake 1.8 to 1.15."
exit 1 exit 1
@ -36,7 +35,6 @@ test "$autoversion" != "" && {
exit 1 exit 1
} }
case $autoversion in case $autoversion in
*' '2.60[ab]|*' '2.6[0-9]) *' '2.60[ab]|*' '2.6[0-9])
;; ;;
@ -85,7 +83,9 @@ else
fi fi
echo "Building po/POTFILES.in..." 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" echo "Building po/POTFILES.in failed -- aborting"
exit 1 exit 1
fi fi