-# Discover what version of autoconf we are using.
-autoversion=`$AUTOCONF --version | head -n 1`
-
-echo "Using $autoversion"
-case $autoversion in
- *2.13)
- cp config/acconfig.h .
- cp config/configure.in .
- rm -f configure.ac
- cp config/relyx_configure.in lib/reLyX/configure.in
- rm -f lib/reLyX/configure.ac
- ;;
- *2.5[23])
- rm -f acconfig.h
- rm -f configure.in
- cp config/configure.ac .
- rm -f lib/reLyX/configure.in
- cp config/relyx_configure.ac lib/reLyX/configure.ac
- ;;
- *)
- echo "This autoconf version is not supported by LyX."
- echo "LyX only supports autoconf 2.13 and 2.53."
- exit
- ;;
-esac
+# Discover what version of automake we are using.
+automake_version=$($AUTOMAKE --version 2>/dev/null | head -n 1)