make the linux/solaris variant of CPP_NAME the default
This commit is contained in:
parent
e49672591a
commit
bad8b0fcf2
|
@ -101,18 +101,13 @@ AC_ARG_WITH(cpp,
|
||||||
if test "x$cpp_name" != xauto; then
|
if test "x$cpp_name" != xauto; then
|
||||||
CPP_NAME="$cpp_name"
|
CPP_NAME="$cpp_name"
|
||||||
else
|
else
|
||||||
|
CPP_NAME="cpp %d -o %o %i"
|
||||||
case "$target_os" in
|
case "$target_os" in
|
||||||
*bsd*)
|
*bsd*)
|
||||||
touch conftest.c
|
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"
|
CPP_NAME="`(f=\`$CC -v -E -Dfoo conftest.c -o conftest.i 2>&1 | grep -e -Dfoo\`; set $f; echo "$1")` %d %i %o"
|
||||||
rm -f conftest.[ci]
|
rm -f conftest.[ci]
|
||||||
;;
|
;;
|
||||||
linux*)
|
|
||||||
CPP_NAME="cpp %d -o %o %i"
|
|
||||||
;;
|
|
||||||
solaris*)
|
|
||||||
CPP_NAME="cpp %d -o %o %i"
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue