diff options
author | Karl Berry <karl@freefriends.org> | 2012-03-08 07:39:07 -0800 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-03-08 07:39:07 -0800 |
commit | bdb055dfb73d0a772ec64bba4ab0374d1848f83d (patch) | |
tree | 463f1187c29332c8ae737d08edc4803cf79a7d98 /build-aux/depcomp | |
parent | 6d1c7caab8326e2e74ed9b2753e8debed91a6eaf (diff) | |
download | gnulib-bdb055dfb73d0a772ec64bba4ab0374d1848f83d.tar.gz |
autoupdate
Diffstat (limited to 'build-aux/depcomp')
-rwxr-xr-x | build-aux/depcomp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/build-aux/depcomp b/build-aux/depcomp index 089f55675d..793b902372 100755 --- a/build-aux/depcomp +++ b/build-aux/depcomp @@ -107,6 +107,12 @@ if test "$depmode" = msvc7msys; then depmode=msvc7 fi +if test "$depmode" = xlc; then + # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency informations. + gccflag=-qmakedep=gcc,-MF + depmode=gcc +fi + case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what @@ -227,6 +233,13 @@ sgi) rm -f "$tmpdepfile" ;; +xlc) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the |