2 # Run this to generate all the initial makefiles, etc.
3 # This was lifted from the Gimp, and adapted slightly by
10 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
12 echo "You must have autoconf installed to compile $PROG."
13 echo "Download the appropriate package for your distribution,"
14 echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
18 (automake --version) < /dev/null > /dev/null 2>&1 || {
20 echo "You must have automake installed to compile $PROG."
21 echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.4.tar.gz"
22 echo "(or a newer version if it is available)"
26 (libtoolize --version) < /dev/null > /dev/null 2>&1 || {
28 echo "You must have libtool installed to compile $PROG."
29 echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.4.tar.gz"
30 echo "(or a newer version if it is available)"
34 if test "$DIE" -eq 1; then
39 echo "I am going to run ./configure with no arguments - if you wish "
40 echo "to pass any to it, please specify them on the $0 command line."
47 aclocalinclude="$ACLOCAL_FLAGS"; \
48 aclocal $aclocalinclude; \
49 autoheader; libtoolize -c; automake -a -c; autoconf)