changeset 1563:b054590b967a

Fall back to autogen259 if autogen isn't available
author Sam Lantinga <slouken@libsdl.org>
date Tue, 21 Mar 2006 06:54:24 +0000
parents 1d487a3fab41
children 4950a25bd91e
files autogen.sh test/autogen.sh
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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