From kde-bugs-dist Tue Dec 28 16:33:42 1999 From: Ken Block USG Date: Tue, 28 Dec 1999 16:33:42 +0000 To: kde-bugs-dist Subject: Bug#2456: configure thinks Compaq C++ compiler is the Sun C++ compiler X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=94639971201295 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------D3D0A3471C17728523AFEF5B" This is a multi-part message in MIME format. --------------D3D0A3471C17728523AFEF5B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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. --------------D3D0A3471C17728523AFEF5B Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Kenneth Block Content-Disposition: attachment; filename="vcard.vcf" begin: vcard fn: Kenneth Block n: Block;Kenneth org: CTG C/C++ Compiler adr: 110 Spit Brook Road;;M/S ZKO3-2/W02;Nashua;NH;03062;USA email;internet: block@zk3.dec.com tel;work: 603-884-2819 x-mozilla-cpt: ;0 x-mozilla-html: FALSE version: 2.1 end: vcard --------------D3D0A3471C17728523AFEF5B--