2 # Run this to generate all the initial makefiles, etc.
5 test -z "$srcdir" && srcdir
=.
15 # cvs may leave some files unwritable
16 (chmod -Rf u
+rw
$srcdir) < /dev
/null
> /dev
/null
2>&1 ||
{
18 echo "You must have owner permissions for all files and subdirectories"
23 (autoconf
--version ) < /dev
/null
> /dev
/null
2>&1 ||
{
25 echo "You must have autoconf installed to compile $PROJECT."
29 (automake
--version ) < /dev
/null
> /dev
/null
2>&1 ||
{
31 echo "You must have automake installed to compile $PROJECT."
35 if test "$DIE" -eq 1; then
39 test $TEST_TYPE $FILE ||
{
40 echo "You must run this script in the top-level $PROJECT directory"
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 # needed when autotools version changed
52 # After the first run of autoconf a configure file exists.
53 # 'configure --enable-maintainer-mode' will start all other needed autotool helpers.
60 $srcdir/configure
--enable-maintainer-mode --prefix=/usr
/local "$@"
63 echo "Now execute GNU make to compile $PROJECT."