2 # Run this to generate all the initial makefiles, etc.
5 test -z "$srcdir" && srcdir
=.
7 if test ! -f $srcdir/configure.ac
-o ! -f $srcdir/src
/adg.h
; then
8 echo "**Error**: '$srcdir' does not look like the top-level adg directory"
13 glib-gettextize
-f ||
exit $?
15 # autoreconf interaction with libtool has been broken for ages:
16 # explicitely calling libtoolize avoid some problems
17 libtoolize
--automake ||
exit $?
19 autoreconf
-is -Wall ||
exit $?
21 .
/configure
"$@" && echo "Now type 'make' to compile $PROJECT."