From 6b159ed2c33a1a208395f9b57b7d61d7c1d04842 Mon Sep 17 00:00:00 2001 From: Arturo Espinosa Date: Wed, 22 Apr 1998 02:56:19 +0000 Subject: Fix for gedit compilation -mig svn path=/trunk/; revision=181 --- macros/autogen.sh | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/macros/autogen.sh b/macros/autogen.sh index d2a39c8237..1e39bf1060 100644 --- a/macros/autogen.sh +++ b/macros/autogen.sh @@ -69,19 +69,23 @@ fi for j in `find $srcdir -name configure.in -print` do i=`dirname $j` - macrodirs=`sed -n -e 's,AM_ACLOCAL_INCLUDE(\(.*\)),\1,gp' < $j` - echo processing $i - ## debug - test -n "$macrodirs" && echo \`aclocal\' will also look in \`$macrodirs\' - (cd $i; \ - aclocalinclude=""; \ - for k in $macrodirs; do \ - if test -d $k; then aclocalinclude="$aclocalinclude -I $k"; \ - else echo "**Warning**: No such directory \`$k'. Ignored."; fi; \ - done; \ - libtoolize --copy --force; \ - aclocal $aclocalinclude; \ - autoheader; automake --add-missing --gnu; autoheader; autoconf) + if test -e $i/NO-AUTO-GEN; then + echo skipping $i -- flagged as no auto-gen + else + macrodirs=`sed -n -e 's,AM_ACLOCAL_INCLUDE(\(.*\)),\1,gp' < $j` + echo processing $i + ## debug + test -n "$macrodirs" && echo \`aclocal\' will also look in \`$macrodirs\' + (cd $i; \ + aclocalinclude=""; \ + for k in $macrodirs; do \ + if test -d $k; then aclocalinclude="$aclocalinclude -I $k"; \ + else echo "**Warning**: No such directory \`$k'. Ignored."; fi; \ + done; \ + libtoolize --copy --force; \ + aclocal $aclocalinclude; \ + autoheader; automake --add-missing --gnu; autoheader; autoconf) + fi done echo running $srcdir/configure --enable-maintainer-mode "$@" -- cgit v1.2.3