diff options
Diffstat (limited to 'test/autogen.sh')
-rwxr-xr-x | test/autogen.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/autogen.sh b/test/autogen.sh new file mode 100755 index 0000000..939f34c --- /dev/null +++ b/test/autogen.sh @@ -0,0 +1,12 @@ +#!/bin/sh +# +# Regenerate configuration files +cp acinclude.m4 aclocal.m4 +found=false +for autoconf in autoconf autoconf259 autoconf-2.59 +do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi +done +if test x$found = xfalse; then + echo "Couldn't find autoconf, aborting" + exit 1 +fi |