diff autogen.sh @ 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 d94b080ff6ce
children 4950a25bd91e
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