2 # Run this to generate all the initial makefiles, etc.
5 test -z "$srcdir" && srcdir=.
11 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
13 echo "You must have autoconf installed to compile gnome-xml."
14 echo "Download the appropriate package for your distribution,"
15 echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
19 (libtool --version) < /dev/null > /dev/null 2>&1 || {
21 echo "You must have libtool installed to compile gnome-xml."
22 echo "Get ftp://alpha.gnu.org/gnu/libtool-1.0h.tar.gz"
23 echo "(or a newer version if it is available)"
27 (automake-1.4 --version) < /dev/null > /dev/null 2>&1 || {
29 echo "You must have automake installed to compile gnome-xml."
30 echo "Get ftp://ftp.cygnus.com/pub/home/tromey/automake-1.2d.tar.gz"
31 echo "(or a newer version if it is available)"
35 if test "$DIE" -eq 1; then
39 test -f libxslt/xslt.h || {
40 echo "You must run this script in the top-level gdome 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 echo "Running libtoolize..."
50 libtoolize --copy --force
51 echo "Running aclocal..."
52 aclocal-1.4 $ACLOCAL_FLAGS
53 echo "Running automake..."
54 automake-1.4 --add-missing
55 echo "Running autoconf..."
60 if test x$OBJ_DIR != x; then
65 conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
67 echo Running configure $conf_flags "$@" ...
68 $srcdir/configure $conf_flags "$@"
71 echo "Now type 'make' to compile libxslt."