diff options
| author | Glenn Morris | 2007-04-04 02:52:50 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-04-04 02:52:50 +0000 |
| commit | 7318db6b80eebdf1878ead5d9bea2e6c9c7105a5 (patch) | |
| tree | 9acc0cb1a3c18f426346bf3ac376caf0795a37c7 | |
| parent | 1dd95c1a6ae866180fe1a0bff0659e4d9994b723 (diff) | |
| download | emacs-7318db6b80eebdf1878ead5d9bea2e6c9c7105a5.tar.gz emacs-7318db6b80eebdf1878ead5d9bea2e6c9c7105a5.zip | |
(NON_GNU_CPP): Use associated preprocessor when compiling with Sun
Studio on Solaris.
| -rw-r--r-- | configure.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 75f02f7b7de..d68c8aa841d 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -1030,7 +1030,12 @@ dnl see the `changequote' comment above. | |||
| 1030 | ;; | 1030 | ;; |
| 1031 | *-sunos5* | *-solaris* ) | 1031 | *-sunos5* | *-solaris* ) |
| 1032 | opsys=sol2-6 | 1032 | opsys=sol2-6 |
| 1033 | NON_GNU_CPP=/usr/ccs/lib/cpp | 1033 | if [ "x$CC" = x/opt/SUNWspro/bin/cc ]; then |
| 1034 | ## -Xs prevents spurious whitespace. | ||
| 1035 | NON_GNU_CPP="/opt/SUNWspro/bin/cc -E -Xs" | ||
| 1036 | else | ||
| 1037 | NON_GNU_CPP=/usr/ccs/lib/cpp | ||
| 1038 | fi | ||
| 1034 | ;; | 1039 | ;; |
| 1035 | * ) opsys=bsd4-2 ;; | 1040 | * ) opsys=bsd4-2 ;; |
| 1036 | esac | 1041 | esac |