diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2006-08-03 12:04:45 +0300 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-08-03 08:15:51 +0000 |
commit | 89a3a25144bc97d46d0d41909341c587a8b6c2cc (patch) | |
tree | de12d018fdc82c236482cb89cf2d4130a6826ee4 /hints/dec_osf.sh | |
parent | f38c1908cf9793644d5d867fb064b79b773c2c16 (diff) | |
download | perl-89a3a25144bc97d46d0d41909341c587a8b6c2cc.tar.gz |
more g++ in Tru64
Message-ID: <44D191FD.9030902@iki.fi>
p4raw-id: //depot/perl@28654
Diffstat (limited to 'hints/dec_osf.sh')
-rw-r--r-- | hints/dec_osf.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh index a5c1aadc44..92cb1c3030 100644 --- a/hints/dec_osf.sh +++ b/hints/dec_osf.sh @@ -161,9 +161,9 @@ esac # Be nauseatingly ANSI ccflags="$ccflags $_ccflags_strict_ansi" -# g++ needs -D_XOPEN_SOURCE -D_OSF_SOURCE to get much use of <unistd.h>. +# g++ needs -D_XOPEN_SOURCE -D_OSF_SOURCE -D_AES_SOURCE -D_BSD to get much use of <unistd.h>. case "$cc" in -*g++*) ccflags="$ccflags -D_XOPEN_SOURCE -D_OSF_SOURCE" ;; +*g++*) ccflags="$ccflags -D_XOPEN_SOURCE -D_OSF_SOURCE -D_AES_SOURCE -D_BSD" ;; esac # for gcc the Configure knows about the -fpic: @@ -375,7 +375,7 @@ $define|true|[yY]*) extern int foo; EOF $cc -c pthread.c 2> pthread.err - if grep -q "unrecognized compiler" pthread.err; then + if egrep -q "unrecognized compiler|syntax error" pthread.err; then cat >&4 <<EOF *** *** I'm sorry but your C compiler ($cc) cannot be used to |