diff options
author | Andrew Clayton <a.clayton@nginx.com> | 2024-03-06 21:06:34 +0000 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2024-03-09 00:42:27 +0000 |
commit | e79e463556d6a08432a7008d185c958907fa4f40 (patch) | |
tree | 3ac23b20825f3ae02cea4b6d16b6f9368892aa2b /auto/cc/test | |
parent | 0c2d7786b1b79c952712179d271efd9c6057ffc7 (diff) | |
download | unit-e79e463556d6a08432a7008d185c958907fa4f40.tar.gz unit-e79e463556d6a08432a7008d185c958907fa4f40.tar.bz2 |
Remove support for IBM's XL C compiler
We really only support building Unit with GCC and Clang.
Cc: Dan Callahan <d.callahan@f5.com>
Reviewed-by: Alejandro Colomar <alx@kernel.org>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to '')
-rw-r--r-- | auto/cc/test | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/auto/cc/test b/auto/cc/test index b1745505..499a2fb1 100644 --- a/auto/cc/test +++ b/auto/cc/test @@ -54,19 +54,9 @@ then $echo " + $NXT_CC_VERSION" else -if `/bin/sh -c "($CC -qversion)" 2>&1 \ - | grep "^IBM XL" >> $NXT_AUTOCONF_ERR 2>&1` -then - NXT_CC_NAME=xlC - $echo " + using AIX xlC compiler" - NXT_CC_VERSION=`/bin/sh -c "($CC -qversion)" 2>&1 | grep "IBM XL" 2>&1` - $echo " + $NXT_CC_VERSION" - -else NXT_CC_NAME=cc NXT_CC_VERSION=cc -fi # xlC fi # SunC fi # Apple LLVM clang fi # clang @@ -163,20 +153,6 @@ case $NXT_CC_NAME in NXT_CFLAGS="$NXT_CFLAGS -g" ;; - xlC) - nxt_have=NXT_XLC . auto/have - - #NXT_CFLAGS="$NXT_CFLAGS -qalloca" - # alloca support. - NXT_CFLAGS="$NXT_CFLAGS -qlanglvl=extc99" - # __thread support. - NXT_CFLAGS="$NXT_CFLAGS -qtls" - # Suppress warning - # 1506-159 (E) Bit field type specified for XXX is not valid. - # Type unsigned assumed. - NXT_CFLAGS="$NXT_CFLAGS -qsuppress=1506-159" - ;; - *) ;; |