aboutsummaryrefslogtreecommitdiffstats
path: root/macros
diff options
context:
space:
mode:
Diffstat (limited to 'macros')
-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