summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Becker <jlbec@src.gnome.org>1998-10-06 05:01:50 +0000
committerJoel Becker <jlbec@src.gnome.org>1998-10-06 05:01:50 +0000
commit64ba49ed647ec9f4a36d28b859811c84cc622fe5 (patch)
tree917a395282197afe86dd3780ae6d92c51639bdb5
parentab031a140a76d4b4ef5eba519e7bec4884969d69 (diff)
downloadgnome-common-64ba49ed647ec9f4a36d28b859811c84cc622fe5.tar.gz
Added test for xlc, to run automake with --include-deps
svn path=/trunk/; revision=428
-rw-r--r--macros/autogen.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/macros/autogen.sh b/macros/autogen.sh
index 0861384..9ced626 100644
--- a/macros/autogen.sh
+++ b/macros/autogen.sh
@@ -50,6 +50,11 @@ if test -z "$*"; then
echo
fi
+case $CC in
+xlc )
+ am_opt=--include-deps;;
+esac
+
for j in `find $srcdir -name configure.in -print`
do
i=`dirname $j`
@@ -68,7 +73,7 @@ do
done; \
libtoolize --copy --force; \
aclocal $aclocalinclude; \
- autoheader; automake --add-missing --gnu; autoheader; autoconf)
+ autoheader; automake --add-missing --gnu $am_opt; autoheader; autoconf)
fi
done