From c3d10717f3478ceddb962b2c4000290f5889fb11 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Wed, 9 Feb 2000 08:51:20 +0000 Subject: Handle non GNU find programs. 2000-02-08 Miguel de Icaza * autogen.sh: Handle non GNU find programs. svn path=/trunk/; revision=1090 --- macros/ChangeLog | 4 ++++ macros/autogen.sh | 10 ++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/macros/ChangeLog b/macros/ChangeLog index b752b603..b25a6eb9 100644 --- a/macros/ChangeLog +++ b/macros/ChangeLog @@ -1,3 +1,7 @@ +2000-02-08 Miguel de Icaza + + * autogen.sh: Handle non GNU find programs. + 2000-02-05 Martin Baulig * gnome-libgtop-types.m4 (AC_LIBGTOP_CHECK_TYPE): New macro. This diff --git a/macros/autogen.sh b/macros/autogen.sh index c6899e66..b38d8d91 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 -- cgit v1.2.1