2 # Run this to generate all the initial makefiles, etc.
5 test -z "$srcdir" && srcdir
=.
16 (autoconf
--version) < /dev
/null
> /dev
/null
2>&1 ||
{
18 echo "You must have autoconf installed to compile $PROJECT."
19 echo "Download the appropriate package for your distribution,"
20 echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
24 (libtool
--version) < /dev
/null
> /dev
/null
2>&1 ||
{
26 echo "You must have libtool installed to compile $PROJECT."
27 echo "Get ftp://alpha.gnu.org/gnu/libtool-1.0h.tar.gz"
28 echo "(or a newer version if it is available)"
32 (intltoolize
--version) < /dev
/null
> /dev
/null
2>&1 ||
{
34 echo "You must have intltool installed to compile $PROJECT."
35 echo "Get ftp://ftp.gnome.org/pub/GNOME/stable/sources/intltool/intltool-0.16.tar.gz"
36 echo "(or a newer version if it is available)"
40 (automake
--version) < /dev
/null
> /dev
/null
2>&1 ||
{
42 echo "You must have automake installed to compile $PROJECT."
43 echo "Get ftp://ftp.cygnus.com/pub/home/tromey/automake-1.2d.tar.gz"
44 echo "(or a newer version if it is available)"
48 if test "$DIE" -eq 1; then
52 test $TEST_TYPE $FILE ||
{
53 echo "You must run this script in the top-level $PROJECT directory"
58 echo "I am going to run ./configure with no arguments - if you wish "
59 echo "to pass any to it, please specify them on the $0 command line."
63 *lcc |
*lcc\
*) am_opt
=--include-deps;;
66 echo "Running gettextize..."
67 glib-gettextize
--copy --force
69 echo "Running intltoolize"
70 intltoolize
--copy --force --automake
72 echo "Running libtoolize"
73 libtoolize
--copy --force
75 aclocal
$ACLOCAL_FLAGS
77 automake
--add-missing $am_opt
82 $srcdir/configure
--enable-maintainer-mode --enable-db2html "$@"
85 echo "Now type 'make' to compile $PROJECT."