Hi!

When compiling on a site which has more than one gcc installed, this might
help:


--- aclocal.m4.orig     Mon Jun  7 11:32:23 1999
+++ aclocal.m4  Mon Jun  7 11:33:04 1999
@@ -291,7 +291,7 @@
 [AC_CACHE_CHECK([how to invoke GNU cpp directly], fptools_cv_gnu_cpp,
 [if test "$HaveGcc" = "YES"; then
        echo > conftest.c
-       gcc -v -E conftest.c >/dev/null 2>conftest.out
+       $CPP -v conftest.c >/dev/null 2>conftest.out
        # \x5c = backslash
        echo 'tr/\x5c/\//; /(\S+\/)cpp/ && print "[$]{1}cpp -iprefix [$]1";' > 
conftest.pl
        fptools_cv_gnu_cpp="`eval $PerlCmd -n conftest.pl conftest.out`"
                                  
If not "$CPP", "$CC -E" should do the same...


Cheers,
Michael

Reply via email to