2003-06-06 19:00:42 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
## $Id$
|
|
|
|
|
|
|
|
# for solaris machines that don't have autoconf 2.57 or automake 1.7 installed:
|
|
|
|
|
|
|
|
# this file is only for bootstrapping the "Makefile.in" files and "Makefile"
|
|
|
|
# files; you probably don't need to run this if the Makefile.in files were
|
|
|
|
# correctly checked into the repository.
|
|
|
|
|
|
|
|
## need autoconf, automake, m4, ... from quarl's bin directory:
|
|
|
|
if [ `uname` = SunOS ]; then
|
|
|
|
PATH=/disks/philmor/a/users/quarl/local/Node-SOLARIS/bin:$PATH
|
|
|
|
export PATH
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo "Bootstrapping configure script and makefiles:"
|
|
|
|
|
2004-11-23 16:14:22 +00:00
|
|
|
aclocal -I m4 && autoheader && automake && autoconf
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2003-07-11 22:10:05 +00:00
|
|
|
## We don't always run ./configure ourselves here, because the user may not
|
|
|
|
## want to run it, or may want to run with custom parameters.
|
|
|
|
|
|
|
|
if [ "$1" = "-a" ]; then
|
2003-08-08 00:20:52 +00:00
|
|
|
./configure -C --enable-maintainer-mode
|
2003-07-11 22:10:05 +00:00
|
|
|
elif [ "$1" = "-c" ]; then
|
2003-08-08 00:20:52 +00:00
|
|
|
./configure -C
|
2003-07-11 22:10:05 +00:00
|
|
|
else
|
|
|
|
echo "Done, now run ./configure"
|
|
|
|
echo " ./configure -C to enable caching"
|
|
|
|
echo " ./configure --enable-maintainer-mode to enable maintainer depedencies"
|
|
|
|
fi
|