From: curt Date: Sat, 19 Jan 2002 13:45:06 +0000 (+0000) Subject: Further autogen.sh fixes to handle more cases. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6ab443545f6f37c765cbf2e4167eaf7f35584f28;p=simgear.git Further autogen.sh fixes to handle more cases. --- diff --git a/autogen.sh b/autogen.sh index 7417a300..ed58ef48 100755 --- a/autogen.sh +++ b/autogen.sh @@ -9,14 +9,14 @@ echo -n " automake: `automake --version | head -1 | awk '{print $4}'`" echo " ($AUTO_MAKE_VERSION)" echo "" -echo -n "Running aclocal" -if [ $AUTO_MAKE_VERSION -ge 15 ]; then - echo " -I ." - aclocal -I . -else - echo "" - aclocal +ACLOCAL_OPTS="" +if [ $AUTO_MAKE_VERSION -ge 14 ]; then + if [ $OSTYPE = "IRIX" -o $OSTYPE = "IRIX64" ]; then echo " -I ." + ACLOCAL_OPTS="-I ." + fi fi +echo "Running aclocal $ACLOCAL_OPTS" +aclocal $ACLOCAL_OPTS echo "Running autoheader" autoheader