diff options
author | Johan Dahlin <zilch.am@home.se> | 2001-09-10 09:01:54 +0000 |
---|---|---|
committer | Johan Dahlin <zilch@src.gnome.org> | 2001-09-10 09:01:54 +0000 |
commit | bc19b7dc7658961a75c996016a98eac5f08e99be (patch) | |
tree | 4c1d8d5812a7585a4d7776115ee714d59609b091 | |
parent | 09e7cfcd63e1f8976c52ef791e81fd1ade99664b (diff) | |
download | pygtk-bc19b7dc7658961a75c996016a98eac5f08e99be.tar.gz |
add check and usage for AUTOMAKE and ACLOCAL.
2001-09-10 Johan Dahlin <zilch.am@home.se>
* autogen.sh: add check and usage for AUTOMAKE and ACLOCAL.
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | autogen.sh | 11 |
2 files changed, 11 insertions, 4 deletions
@@ -1,3 +1,7 @@ +2001-09-10 Johan Dahlin <zilch.am@home.se> + + * autogen.sh: add check and usage for AUTOMAKE and ACLOCAL. + 2001-09-06 James Henstridge <james@daa.com.au> * gtk/GTK.py: fix up enums. @@ -12,6 +12,9 @@ FILE=gtk DIE=0 +test -z "$AUTOMAKE" && AUTOMAKE=automake +test -z "$ACLOCAL" && ACLOCAL=aclocal + (autoconf --version) < /dev/null > /dev/null 2>&1 || { echo echo "You must have autoconf installed to compile $PROJECT." @@ -28,7 +31,7 @@ DIE=0 DIE=1 } -(automake --version) < /dev/null > /dev/null 2>&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" @@ -56,7 +59,7 @@ esac if test -z "$ACLOCAL_FLAGS"; then - acdir=`aclocal --print-ac-dir` + acdir=`$ACLOCAL --print-ac-dir` m4list="glib-2.0.m4 gtk-2.0.m4 gettext.m4" for file in $m4list @@ -79,7 +82,7 @@ fi # while making dist. #echo "no" | gettextize --copy --force -aclocal $ACLOCAL_FLAGS +$ACLOCAL $ACLOCAL_FLAGS # optionally feature autoheader (autoheader --version) < /dev/null > /dev/null 2>&1 && autoheader @@ -87,7 +90,7 @@ aclocal $ACLOCAL_FLAGS # run libtoolize ... libtoolize --force -automake -a $am_opt +$AUTOMAKE -a $am_opt autoheader autoconf cd $ORIGDIR |