summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorJames Henstridge <james@daa.com.au>2002-12-24 06:33:08 +0000
committerJames Henstridge <jamesh@src.gnome.org>2002-12-24 06:33:08 +0000
commita82ffae9b72fd8db9488dab2d80f1a30995b5783 (patch)
treeb4852855b844f4d4a439aa6cb3230e3fd86ad1a6 /autogen.sh
parent2d26e718f71378183f0713863a4daa8bffe100ff (diff)
downloadpygtk-a82ffae9b72fd8db9488dab2d80f1a30995b5783.tar.gz
use automake-1.7 in preference to 1.6.
2002-12-23 James Henstridge <james@daa.com.au> * autogen.sh (AUTOMAKE): use automake-1.7 in preference to 1.6. * configure.in (GLIB_LIBS): remove -export-dynamic from flags. 2002-12-23 James Henstridge <james@daa.com.au> * configure.in (PYORBIT_LIBS): add code to get rid of the "-export-dynamic" from the link flags, since we want to limit the number of exported symbols. * autogen.sh (AUTOMAKE): allow building with automake 1.7 or 1.6. * src/ORBitmodule.c (add_tc_constants): new function to add CORBA.TC_* constants. 2002-12-23 James Henstridge <james@daa.com.au> * configure.in (PYORBIT_LIBS): add code to get rid of the "-export-dynamic" from the link flags, since we want to limit the number of exported symbols. * autogen.sh (AUTOMAKE): allow building with automake 1.7 or 1.6. * src/ORBitmodule.c (add_tc_constants): new function to add CORBA.TC_* constants.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh26
1 files changed, 16 insertions, 10 deletions
diff --git a/autogen.sh b/autogen.sh
index 416a9472..46814170 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -12,8 +12,6 @@ FILE=gtk
DIE=0
-test -z "$AUTOMAKE" && AUTOMAKE=automake-1.6
-test -z "$ACLOCAL" && ACLOCAL=aclocal-1.6
test -z "$AUTOCONF" && AUTOCONF=autoconf
test -z "$AUTOHEADER" && AUTOHEADER=autoheader
@@ -27,19 +25,27 @@ test -z "$AUTOHEADER" && AUTOHEADER=autoheader
(libtool --version) < /dev/null > /dev/null 2>&1 || {
echo
- echo "You must have libtool installed to compile gnome-xml."
+ echo "You must have libtool installed to compile $PROJECT."
echo "Get ftp://ftp.gnu.org/gnu/libtool/libtool-1.4.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
}
-($AUTOMAKE --version) < /dev/null > /dev/null 2>&1 || {
- echo
- echo "You must have automake installed to compile $PROJECT."
- echo "Get ftp://ftp.cygnus.com/pub/home/tromey/automake-1.2d.tar.gz"
- echo "(or a newer version if it is available)"
- DIE=1
-}
+if test -z "$AUTOMAKE"; then
+ if automake-1.7 --version < /dev/null > /dev/null 2>&1; then
+ AUTOMAKE=automake-1.7
+ ACLOCAL=aclocal-1.7
+ elif automake-1.6 --version < /dev/null > /dev/null 2>&1; then
+ AUTOMAKE=automake-1.6
+ ACLOCAL=aclocal-1.6
+ else
+ echo
+ echo "You must have automake installed to compile $PROJECT."
+ echo "Get ftp://ftp.gnu.org/pub/gnu/automake/automake-1.7.2.tar.gz"
+ echo "(or a newer version if it is available)"
+ DIE=1
+ fi
+fi
if test "$DIE" -eq 1; then
exit 1