--- MITgcm/tools/xmakedepend 2003/11/25 17:22:47 1.4 +++ MITgcm/tools/xmakedepend 2005/03/03 18:05:39 1.6 @@ -25,15 +25,11 @@ # $XFree86: xc/config/util/mdepend.cpp,v 3.2 1997/06/29 07:54:20 dawes Exp $ # -CPPARGS="-traditional -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE " +CPPARGS="-Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE " -if test -r ./genmake_optfile ; then - . ./genmake_optfile -fi -if test "x$CPP" != x0 ; then - CC="$CPP $CPPARGS" -else - CC="cpp $CPPARGS" +CC="cpp $CPPARGS" +if test -x /lib/cpp ; then + CC="/lib/cpp $CPPARGS" fi silent='-'