aboutsummaryrefslogtreecommitdiffstats
path: root/macros
diff options
context:
space:
mode:
authorElliot Lee <sopwith@src.gnome.org>2000-01-18 02:04:06 +0800
committerElliot Lee <sopwith@src.gnome.org>2000-01-18 02:04:06 +0800
commite63f053c3e341251c123c72587e930228b781c67 (patch)
treeef6b8789bc8a8a84b71049d610381a1bbf9a84b7 /macros
parent804e7e17bf0ae0c3880e7aed3746dafcf183acad (diff)
downloadgsoc2013-evolution-e63f053c3e341251c123c72587e930228b781c67.tar
gsoc2013-evolution-e63f053c3e341251c123c72587e930228b781c67.tar.gz
gsoc2013-evolution-e63f053c3e341251c123c72587e930228b781c67.tar.bz2
gsoc2013-evolution-e63f053c3e341251c123c72587e930228b781c67.tar.lz
gsoc2013-evolution-e63f053c3e341251c123c72587e930228b781c67.tar.xz
gsoc2013-evolution-e63f053c3e341251c123c72587e930228b781c67.tar.zst
gsoc2013-evolution-e63f053c3e341251c123c72587e930228b781c67.zip
do the rm-gnome-gettext.m4 hokey pokey
svn path=/trunk/; revision=1583
Diffstat (limited to 'macros')
-rw-r--r--macros/autogen.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/macros/autogen.sh b/macros/autogen.sh
index c1b687c6f3..5662d01ff4 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