[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: Bug#2456: configure thinks Compaq C++ compiler is the Sun C++ compiler
From: Ken Block USG <block () zk3 ! dec ! com>
Date: 1999-12-28 16:33:42
[Download RAW message or body]
Package: kdelibs (probably all packages)
Version: 1.89
The configure script tests if " __SUNPRO_CC_COMPAT < 5" to determine if
this is a bad Sun compiler, but compaq C++ does not
define that macro and it will evaluate to zero which is less than five.
I would suggest testing if the macro is defined, in addition to checking
its value.
sassy.zk3.dec.com> diff -c configure{.orig,}
*** configure.orig Wed Dec 15 10:46:29 1999
--- configure Tue Dec 28 11:26:47 1999
***************
*** 1637,1644 ****
--- 1637,1646 ----
echo "configure:1638: checking whether we are using SPARC CC" >&5
GXX=
cat > conftest.C << EOF
+ #ifdef __SUNPRO_CC_COMPAT
#if __SUNPRO_CC_COMPAT < 5
yes __SUNPRO_CC_COMPAT
+ #endif
#endif
EOF
I'm using Compaq C++ 6.2 on Tru64 4.0G.
["vcard.vcf" (text/x-vcard)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic