aboutsummaryrefslogtreecommitdiffstats
path: root/macros/autogen.sh
diff options
context:
space:
mode:
authorJoel Becker <jlbec@src.gnome.org>1998-10-06 13:01:50 +0800
committerJoel Becker <jlbec@src.gnome.org>1998-10-06 13:01:50 +0800
commitd615e93107c7d6f816890a2690e500c406efa841 (patch)
treef8b34857ddea8e180f3fe58c8762dda087e6246b /macros/autogen.sh
parent152fd20f329d7e830734bedd728ddc6a39c032ef (diff)
downloadgsoc2013-evolution-d615e93107c7d6f816890a2690e500c406efa841.tar
gsoc2013-evolution-d615e93107c7d6f816890a2690e500c406efa841.tar.gz
gsoc2013-evolution-d615e93107c7d6f816890a2690e500c406efa841.tar.bz2
gsoc2013-evolution-d615e93107c7d6f816890a2690e500c406efa841.tar.lz
gsoc2013-evolution-d615e93107c7d6f816890a2690e500c406efa841.tar.xz
gsoc2013-evolution-d615e93107c7d6f816890a2690e500c406efa841.tar.zst
gsoc2013-evolution-d615e93107c7d6f816890a2690e500c406efa841.zip
Added test for xlc, to run automake with --include-deps
svn path=/trunk/; revision=428
Diffstat (limited to 'macros/autogen.sh')
-rw-r--r--macros/autogen.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/macros/autogen.sh b/macros/autogen.sh
index 08613848a3..9ced626851 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