address@hidden:~/automake> git clone git://git.savannah.gnu.org/automake.git Initialized empty Git repository in /gpfs/automountdir/homea/jjsc10/jjsc1003/automake/automake/.git/ remote: Counting objects: 67175, done. remote: Compressing objects: 100% (14771/14771), done. remote: Total 67175 (delta 57521), reused 61235 (delta 52249) Receiving objects: 100% (67175/67175), 13.60 MiB | 3006 KiB/s, done. Resolving deltas: 100% (57521/57521), done. Checking out files: 100% (1393/1393), done. address@hidden:~/automake/automake> git status # On branch master nothing to commit (working directory clean) address@hidden:~/automake/automake> ./bootstrap address@hidden:~/automake/automake> cd lib/ address@hidden:~/automake/automake/lib> cat ../../depcomp_xlc_support.patch --- build-aux/depcomp.orig 2012-03-03 13:17:37.278369000 +0100 +++ build-aux/depcomp 2012-03-03 13:18:20.624761000 +0100 @@ -102,6 +102,12 @@ 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 @@ -226,6 +232,13 @@ 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 address@hidden:~/automake/automake/lib> patch -b -p1 < ../../depcomp_xlc_support.patch patching file depcomp Hunk #1 succeeded at 107 (offset 5 lines). Hunk #2 succeeded at 233 (offset 1 line). address@hidden:~/automake/automake/lib> diff -u depcomp.orig depcomp --- depcomp.orig 2012-03-04 12:20:59.126929000 +0100 +++ depcomp 2012-03-04 12:30:41.393896000 +0100 @@ -107,6 +107,12 @@ 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 @@ 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 address@hidden:~/automake/automake/lib> cd .. address@hidden:~/automake/automake> ./configure CC=xlc CXX=xlC checking whether make supports nested variables... yes checking build system type... powerpc64-unknown-linux-gnu checking host system type... powerpc64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for perl... /usr/bin/perl checking whether /usr/bin/perl supports ithreads... yes checking for tex... tex checking for yacc... yacc checking for lex... lex checking whether autoconf is installed... yes checking whether autoconf works... yes checking whether autoconf is recent enough... yes checking whether ln works... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking whether /bin/sh has working 'set -e' with exit trap... yes configure: will now look for generic compilers checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... no checking whether xlc accepts -g... yes checking for xlc option to accept ISO C89... none needed checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... no checking whether xlC accepts -g... yes checking for xlf95... xlf95 checking whether the Fortran compiler works... yes checking for Fortran compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU Fortran compiler... no checking whether xlf95 accepts -g... yes checking for xlf... xlf checking whether the Fortran 77 compiler works... yes checking for Fortran 77 compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU Fortran 77 compiler... no checking whether xlf accepts -g... yes configure: will now look for GNU compilers checking for gcc... gcc checking for g++... g++ checking for gfortran... gfortran checking for g77... no checking for gfortran... gfortran checking for gcj... no configure: WARNING: botched installation for GNU Java compiler configure: tests requiring the GNU Java compiler will be skipped checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating contrib/Makefile config.status: creating doc/Makefile config.status: creating lib/Automake/Makefile config.status: creating lib/Makefile config.status: creating lib/am/Makefile config.status: creating m4/Makefile config.status: creating tests/Makefile config.status: creating tests/wrap/aclocal-1.11a config.status: creating tests/wrap/automake-1.11a WARNING: You are about to use a development snapshot of automake. WARNING: It might easily suffer from new bugs or regressions. WARNING: You are strongly advised not to use it in production code. Please report bugs, problems and feedback to . address@hidden:~/automake/automake> make &> make_patch.log address@hidden:~/automake/automake> make check &> make_patch_check.log