aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macros/ChangeLog4
-rw-r--r--macros/autogen.sh10
2 files changed, 12 insertions, 2 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index b752b6036c..b25a6eb932 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,3 +1,7 @@
+2000-02-08 Miguel de Icaza <miguel@gnu.org>
+
+ * autogen.sh: Handle non GNU find programs.
+
2000-02-05 Martin Baulig <martin@home-of-linux.org>
* gnome-libgtop-types.m4 (AC_LIBGTOP_CHECK_TYPE): New macro. This
diff --git a/macros/autogen.sh b/macros/autogen.sh
index c6899e6681..b38d8d9124 100644
--- a/macros/autogen.sh
+++ b/macros/autogen.sh
@@ -94,8 +94,14 @@ do
echo processing $dr
macrodirs=`sed -n -e 's,AM_ACLOCAL_INCLUDE(\(.*\)),\1,gp' < $coin`
( cd $dr
- DELETEFILES="`find . -path '*/macros/gnome-gettext.m4'`"
- echo "deletefiles is $DELETEFILES"
+ macrosdir=`find . -name macros`
+ for i in $macrodirs; do
+ if test -f $i/gnome-gettext.m4; then
+ DELETEFILES="$DELETEFILES $i/gnome-gettext.m4"
+ fi
+ done
+
+ echo "deletefiles is $DELETEFILES"
aclocalinclude="$ACLOCAL_FLAGS"
for k in $aclocalinclude; do
if test -d $k; then