summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-01-16 06:06:17 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-01-16 06:06:17 +0000
commitd58085bf7b8d849cd8960d29dfd6197939bf4fce (patch)
treee5f00695d549420212fd55f9639b85d37618c6d7 /autogen.sh
parentbf6127b77aab52eb0c5d74187009cf94359134f1 (diff)
downloadgnome-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-xautogen.sh16
1 files changed, 4 insertions, 12 deletions
diff --git a/autogen.sh b/autogen.sh
index 297843f6..90633012 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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