[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:       Stephan Kulow <coolo () kde ! org>
Date:       1999-12-28 20:24:48
[Download RAW message or body]

Ken Block USG wrote:
> 
> 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.

Hmm, ok. But this code shouldn't be in there at all :)

Greetings, Stephan

-- 
It said Windows 95 or better, so in theory Linux should run it
                                                GeorgeH on /.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic