summaryrefslogtreecommitdiff
path: root/auto/cc
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2013-09-04 21:17:03 +0400
committerMaxim Dounin <mdounin@mdounin.ru>2013-09-04 21:17:03 +0400
commit49d58ddd722c6ed9bed70c909e350ce21c2d1cbe (patch)
treeeb0ecf628025c067fd652b8bdedb078cd0007201 /auto/cc
parent3d1e616d0bb9278a0291cc0a2a11178e1c1d9710 (diff)
Configure: fixed building with Sun C if CFLAGS set (ticket #65).
Diffstat (limited to 'auto/cc')
-rw-r--r--auto/cc/conf23
1 files changed, 23 insertions, 0 deletions
diff --git a/auto/cc/conf b/auto/cc/conf
index 8027b980..edc6d74d 100644
--- a/auto/cc/conf
+++ b/auto/cc/conf
@@ -43,6 +43,29 @@ if test -n "$CFLAGS"; then
ngx_include_opt="-I"
;;
+ sunc)
+
+ case "$NGX_MACHINE" in
+
+ i86pc)
+ NGX_AUX=" src/os/unix/ngx_sunpro_x86.il"
+ ;;
+
+ sun4u | sun4v)
+ NGX_AUX=" src/os/unix/ngx_sunpro_sparc64.il"
+ ;;
+
+ esac
+
+ case $CPU in
+
+ amd64)
+ NGX_AUX=" src/os/unix/ngx_sunpro_amd64.il"
+ ;;
+
+ esac
+ ;;
+
esac
else