Message-Id: <
200608181248.k7ICmY2W028375@vipunen.hut.fi>
p4raw-id: //depot/perl@28737
EOOVER
rm -f try.c try.o try a.out
+
+# If using g++, the Configure scan for dlopen() will fail in Solaris
+# because one of the two (1) an extern "C" linkage definition is needed
+# (2) #include <dlfcn.h> 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.
+case "$cc" in
+*g++*) d_dlopen='define' ;;
+esac
+