diff options
author | Elliot Lee <sopwith@src.gnome.org> | 2000-01-17 18:04:06 +0000 |
---|---|---|
committer | Elliot Lee <sopwith@src.gnome.org> | 2000-01-17 18:04:06 +0000 |
commit | 8c613436a919b6a8bac4214b1fcedb57bba4d408 (patch) | |
tree | f6b4446ae375dc12b1ee24c18e5da19d704dda17 | |
parent | 3e3a7fea32f0ac89acfc93dfad5a34401fe22ff7 (diff) | |
download | shared-mime-info-8c613436a919b6a8bac4214b1fcedb57bba4d408.tar.gz |
do the rm-gnome-gettext.m4 hokey pokey
svn path=/trunk/; revision=1065
-rw-r--r-- | macros/autogen.sh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/macros/autogen.sh b/macros/autogen.sh index c1b687c6..5662d01f 100644 --- a/macros/autogen.sh +++ b/macros/autogen.sh @@ -85,8 +85,6 @@ xlc ) am_opt=--include-deps;; esac -DELETEME="gnome-gettext.m4" -DELETEFILES="`find $srcdir -name $DELETEME`" for coin in `find $srcdir -name configure.in -print` do dr=`dirname $coin` @@ -96,15 +94,21 @@ do echo processing $dr macrodirs=`sed -n -e 's,AM_ACLOCAL_INCLUDE(\(.*\)),\1,gp' < $coin` ( cd $dr + DELETEFILES="`find . -name gnome-gettext.m4`" aclocalinclude="$ACLOCAL_FLAGS" + for k in $aclocalinclude; do + if test -d $k; then + if [ -f $k/gnome.m4 -a "$GNOME_INTERFACE_VERSION" = "1.0" ]; then + rm -f $DELETEFILES + fi + fi + done for k in $macrodirs; do if test -d $k; then aclocalinclude="$aclocalinclude -I $k" if [ -f $k/gnome.m4 -a "$GNOME_INTERFACE_VERSION" = "1.0" ]; then rm -f $DELETEFILES fi - ##else - ## echo "**Warning**: No such directory \`$k'. Ignored." fi done if grep "^AM_GNU_GETTEXT" configure.in >/dev/null; then |