Commit 7318db6b authored by Glenn Morris's avatar Glenn Morris

(NON_GNU_CPP): Use associated preprocessor when compiling with Sun

Studio on Solaris.
parent 1dd95c1a
......@@ -1030,7 +1030,12 @@ dnl see the `changequote' comment above.
;;
*-sunos5* | *-solaris* )
opsys=sol2-6
if [ "x$CC" = x/opt/SUNWspro/bin/cc ]; then
## -Xs prevents spurious whitespace.
NON_GNU_CPP="/opt/SUNWspro/bin/cc -E -Xs"
else
NON_GNU_CPP=/usr/ccs/lib/cpp
fi
;;
* ) opsys=bsd4-2 ;;
esac
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment