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