summaryrefslogtreecommitdiff
path: root/hints/solaris_2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/solaris_2.sh')
-rw-r--r--hints/solaris_2.sh15
1 files changed, 1 insertions, 14 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh
index d4549e3acb..fcb7233794 100644
--- a/hints/solaris_2.sh
+++ b/hints/solaris_2.sh
@@ -645,19 +645,6 @@ rm -f try.c try.o try a.out
# a delicate spot in Configure, so easier just to force our guess here
# for Solaris.
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' ;;
esac