/
autogen.sh
executable file
·19 lines (17 loc) · 497 Bytes
1
2
#!/bin/sh
#
3
echo "Generating build information using autoconf"
4
5
6
echo "This may take a while ..."
# Regenerate configuration files
7
cp acinclude.m4 aclocal.m4
8
found=false
9
for autoconf in autoconf autoconf259 autoconf-2.59
10
do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
11
done
12
13
14
15
if test x$found = xfalse; then
echo "Couldn't find autoconf, aborting"
exit 1
fi
16
(cd test; sh autogen.sh)
17
18
19
# Run configure for this platform
echo "Now you are ready to run ./configure"