mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
make the linux/solaris variant of CPP_NAME the default
This commit is contained in:
parent
e49672591a
commit
bad8b0fcf2
1 changed files with 1 additions and 6 deletions
|
@ -101,18 +101,13 @@ AC_ARG_WITH(cpp,
|
|||
if test "x$cpp_name" != xauto; then
|
||||
CPP_NAME="$cpp_name"
|
||||
else
|
||||
CPP_NAME="cpp %d -o %o %i"
|
||||
case "$target_os" in
|
||||
*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"
|
||||
rm -f conftest.[ci]
|
||||
;;
|
||||
linux*)
|
||||
CPP_NAME="cpp %d -o %o %i"
|
||||
;;
|
||||
solaris*)
|
||||
CPP_NAME="cpp %d -o %o %i"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue