summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1998-04-22 02:56:19 +0000
committerArturo Espinosa <unammx@src.gnome.org>1998-04-22 02:56:19 +0000
commit32e73badd2b908257f20518009f3abfb33ea290b (patch)
treeb8b3fe740bdb3062a90e8bacd6f3b44d085c0ebc
parentd4155adc1f3ccfe0d3890724bb89bd6540be7934 (diff)
downloadgnome-common-32e73badd2b908257f20518009f3abfb33ea290b.tar.gz
Fix for gedit compilation -mig
svn path=/trunk/; revision=196
-rw-r--r--macros/autogen.sh30
1 files changed, 17 insertions, 13 deletions
diff --git a/macros/autogen.sh b/macros/autogen.sh
index d2a39c8..1e39bf1 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 "$@"