diff options
author | Havoc Pennington <hp@pobox.com> | 2002-01-16 06:06:17 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2002-01-16 06:06:17 +0000 |
commit | d58085bf7b8d849cd8960d29dfd6197939bf4fce (patch) | |
tree | e5f00695d549420212fd55f9639b85d37618c6d7 /autogen.sh | |
parent | bf6127b77aab52eb0c5d74187009cf94359134f1 (diff) | |
download | gnome-terminal-d58085bf7b8d849cd8960d29dfd6197939bf4fce.tar.gz |
fixes
2002-01-16 Havoc Pennington <hp@pobox.com>
* configure.in: fixes
* autogen.sh: get rid of horrible "autogen subdirs" feature and
fix to use glib-gettextize
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 16 |
1 files changed, 4 insertions, 12 deletions
@@ -65,7 +65,7 @@ case $CC in *xlc | *xlc\ * | *lcc | *lcc\ *) am_opt=--include-deps;; esac -for coin in `find . -name configure.in -print` +for coin in . do dr=`dirname $coin` if test -f $dr/NO-AUTO-GEN; then @@ -82,26 +82,18 @@ do ## echo "**Warning**: No such directory \`$k'. Ignored." fi done - if grep "^AM_GNU_GETTEXT" configure.in >/dev/null; then + if grep "^AM_GLIB_GNU_GETTEXT" configure.in >/dev/null; then if grep "sed.*POTFILES" configure.in >/dev/null; then : do nothing -- we still have an old unmodified configure.in else echo "Creating $dr/aclocal.m4 ..." test -r $dr/aclocal.m4 || touch $dr/aclocal.m4 - echo "Running gettextize... Ignore non-fatal messages." - echo "no" | gettextize --force --copy + echo "Running glib-gettextize... Ignore non-fatal messages." + echo "no" | glib-gettextize --force --copy echo "Making $dr/aclocal.m4 writable ..." test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4 fi fi - if grep "^AM_GNOME_GETTEXT" configure.in >/dev/null; then - echo "Creating $dr/aclocal.m4 ..." - test -r $dr/aclocal.m4 || touch $dr/aclocal.m4 - echo "Running gettextize... Ignore non-fatal messages." - echo "no" | gettextize --force --copy - echo "Making $dr/aclocal.m4 writable ..." - test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4 - fi if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then echo "Running libtoolize..." libtoolize --force --copy |