slouken@0: #!/bin/sh slouken@0: # slouken@1376: echo "Generating build information using autoconf" slouken@0: echo "This may take a while ..." slouken@0: hadess@10398: srcdir=`dirname $0` hadess@10398: test -z "$srcdir" && srcdir=. icculus@10722: cd "$srcdir" hadess@10398: slouken@0: # Regenerate configuration files slouken@7232: cat acinclude/* >aclocal.m4 slouken@1564: found=false slouken@1832: for autoconf in autoconf autoconf259 autoconf-2.59 slouken@1564: do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi slouken@1563: done slouken@1564: if test x$found = xfalse; then slouken@1564: echo "Couldn't find autoconf, aborting" slouken@1564: exit 1 slouken@1564: fi slouken@1380: (cd test; sh autogen.sh) slouken@0: slouken@0: # Run configure for this platform slouken@0: echo "Now you are ready to run ./configure"