2 # Run this to set up the build system: configure, makefiles, etc.
3 # (based on the version in enlightenment's cvs)
8 test -z "$srcdir" && srcdir=.
13 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
15 echo "You must have autoconf installed to compile $package."
16 echo "Download the appropriate package for your distribution,"
17 echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
21 (automake --version) < /dev/null > /dev/null 2>&1 || {
23 echo "You must have automake installed to compile $package."
24 echo "Download the appropriate package for your system,
25 echo "or get the source from one of the GNU ftp sites"
26 echo "listed in http://www.gnu.org/order/ftp.html"
30 (libtool --version) < /dev/null > /dev/null 2>&1 || {
32 echo "You must have libtool installed to compile $package."
33 echo "Download the appropriate package for your system,
34 echo "or get the source from one of the GNU ftp sites"
35 echo "listed in http://www.gnu.org/order/ftp.html"
39 if test "$DIE" -eq 1; then
44 echo "I am going to run ./configure with no arguments - if you wish "
45 echo "to pass any to it, please specify them on the $0 command line."
48 echo "Generating configuration files for $package, please wait...."
50 echo " aclocal $ACLOCAL_FLAGS"
51 aclocal $ACLOCAL_FLAGS
54 echo " libtoolize --automake"
56 echo " automake --add-missing"
57 automake --add-missing
61 $srcdir/configure "$@" && echo