diff options
author | Miguel de Icaza <miguel@gnu.org> | 2000-02-09 16:51:20 +0800 |
---|---|---|
committer | Miguel de Icaza <miguel@src.gnome.org> | 2000-02-09 16:51:20 +0800 |
commit | 9e816b5c290dd2de5342e0f06433105588bd10ce (patch) | |
tree | 602d30fe8373ca5ae5a520f4763d5459abf33132 /macros/autogen.sh | |
parent | a56ab5213877f040f31db0696a1a60bd066772ed (diff) | |
download | gsoc2013-evolution-9e816b5c290dd2de5342e0f06433105588bd10ce.tar gsoc2013-evolution-9e816b5c290dd2de5342e0f06433105588bd10ce.tar.gz gsoc2013-evolution-9e816b5c290dd2de5342e0f06433105588bd10ce.tar.bz2 gsoc2013-evolution-9e816b5c290dd2de5342e0f06433105588bd10ce.tar.lz gsoc2013-evolution-9e816b5c290dd2de5342e0f06433105588bd10ce.tar.xz gsoc2013-evolution-9e816b5c290dd2de5342e0f06433105588bd10ce.tar.zst gsoc2013-evolution-9e816b5c290dd2de5342e0f06433105588bd10ce.zip |
Handle non GNU find programs.
2000-02-08 Miguel de Icaza <miguel@gnu.org>
* autogen.sh: Handle non GNU find programs.
svn path=/trunk/; revision=1701
Diffstat (limited to 'macros/autogen.sh')
-rw-r--r-- | macros/autogen.sh | 10 |
1 files changed, 8 insertions, 2 deletions
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 |