summaryrefslogtreecommitdiff
path: root/macros/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'macros/autogen.sh')
-rw-r--r--macros/autogen.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/macros/autogen.sh b/macros/autogen.sh
index 02821475..c1b687c6 100644
--- a/macros/autogen.sh
+++ b/macros/autogen.sh
@@ -85,6 +85,8 @@ 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`
@@ -98,6 +100,9 @@ do
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