Fall back to autogen259 if autogen isn't available
authorSam Lantinga <slouken@libsdl.org>
Tue, 21 Mar 2006 06:54:24 +0000
changeset 1563 b054590b967a
parent 1562 1d487a3fab41
child 1564 4950a25bd91e
Fall back to autogen259 if autogen isn't available
autogen.sh
test/autogen.sh
--- a/autogen.sh	Tue Mar 21 06:45:47 2006 +0000
+++ b/autogen.sh	Tue Mar 21 06:54:24 2006 +0000
@@ -5,7 +5,9 @@
 
 # Regenerate configuration files
 cp acinclude.m4 aclocal.m4
-autoconf
+for autoconf in autoconf autoconf259
+do if which $autoconf >/dev/null; then $autoconf; break; fi
+done
 (cd test; sh autogen.sh)
 
 # Run configure for this platform
--- a/test/autogen.sh	Tue Mar 21 06:45:47 2006 +0000
+++ b/test/autogen.sh	Tue Mar 21 06:54:24 2006 +0000
@@ -2,4 +2,6 @@
 #
 # Regenerate configuration files
 cp acinclude.m4 aclocal.m4
-autoconf
+for autoconf in autoconf autoconf259
+do if which $autoconf >/dev/null; then $autoconf; break; fi
+done