mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
(NON_GNU_CPP): Use associated preprocessor when compiling with Sun
Studio on Solaris.
This commit is contained in:
parent
1dd95c1a6a
commit
7318db6b80
@ -1030,7 +1030,12 @@ dnl see the `changequote' comment above.
|
|||||||
;;
|
;;
|
||||||
*-sunos5* | *-solaris* )
|
*-sunos5* | *-solaris* )
|
||||||
opsys=sol2-6
|
opsys=sol2-6
|
||||||
NON_GNU_CPP=/usr/ccs/lib/cpp
|
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 ;;
|
* ) opsys=bsd4-2 ;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user