From: Maxim Dounin Date: Wed, 4 Sep 2013 17:17:03 +0000 (+0400) Subject: Configure: fixed building with Sun C if CFLAGS set (ticket #65). X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=49d58ddd722c6ed9bed70c909e350ce21c2d1cbe;p=nginx.git Configure: fixed building with Sun C if CFLAGS set (ticket #65). --- diff --git a/auto/cc/conf b/auto/cc/conf index 8027b9805..edc6d74dd 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