working CPPNAME for darwin

This commit is contained in:
Bill Currie 2004-05-09 01:20:51 +00:00
parent 2ccff86089
commit 0edf9f0d11

View file

@ -120,6 +120,9 @@ else
*qnx*)
CPP_NAME="gcc -E -x c++ %d -o %o %i"
;;
*darwin*)
CPP_NAME="/usr/libexec/gcc/darwin/`/usr/bin/arch`/default/cpp %d -o %o %i"
;;
*bsd*)
touch conftest.c
CPP_NAME="`(f=\`$CC -v -E -Dfoo conftest.c -o conftest.i 2>&1 | grep -e -Dfoo\`; set $f; echo "$1")` %d %i %o"