X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Fsolaris_2.sh;h=82e394123885fb7785331ad4bf65511e694d4e41;hb=696814337d4eac8d0663d5307d6e01964d1b2897;hp=d4549e3acb706619f9ac81b7bcfdfd7279ec59bb;hpb=1ccb7c8d11bf6f3b795893f8ec88106e161747d5;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index d4549e3..82e3941 100644 --- a/hints/solaris_2.sh +++ b/hints/solaris_2.sh @@ -404,13 +404,6 @@ EOM if test "`arch`" = i86pc -a `uname -r` = 5.6 && \ ${cc:-cc} try.c -lpthread >/dev/null 2>&1 && ./a.out; then d_sigsetjmp=$undef - cat << 'EOM' >&2 - -You will see a *** WHOA THERE!!! *** message from Configure for -d_sigsetjmp. Keep the recommended value. See hints/solaris_2.sh -for more information. - -EOM fi # These prototypes should be visible since we using @@ -643,21 +636,11 @@ rm -f try.c try.o try a.out # (2) #include is needed, *and* a cast to (void*(*)()) # is needed for the &dlopen. Adding any of these would require changing # a delicate spot in Configure, so easier just to force our guess here -# for Solaris. +# for Solaris. Much the same goes for dlerror(). case "$cc" in -*g++*|/opt/SUNWspro/bin/CC) d_dlopen='define' ;; -esac - -# The Sun C++ doesn't define the global environ array. -case "$cc" in -/opt/SUNWspro/bin/CC) - for o in NO_ENVIRON_ARRAY PERL_USE_SAFE_PUTENV - do - case "$ccflags" in - *$o*) ;; - *) ccflags="$ccflags $o" ;; - esac - done +*g++*|*CC*) + d_dlopen='define' + d_dlerror='define' ;; esac