*)
ccflags="${ccflags} -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H"
if /usr/bin/file -L /usr/lib/libc.so | /usr/bin/grep -vq "not stripped" ; then
- # Respect a command-line override
- test -z "$usenm" && usenm=false
+ usenm=false
fi
;;
esac
-
-# If we are using g++ we must use nm and force ourselves to use
-# the /usr/lib/libc.a because the symbol scanning tricks of
-# Configure will crash and burn horribly.
-case "$cc" in
-*g++*) usenm=true
- libc='/usr/lib/libc.a'
- ;;
-esac
-
cat <<'EOM' >&4
Some users have reported that Configure halts when testing for
case "$usemallocwrap" in
'') usemallocwrap='define' ;;
esac
+
+# XXX Under FreeBSD 6.0 (and probably most other similar versions)
+# Perl_die(NULL) generates a warning:
+# pp_sys.c:491: warning: null format string
+# Configure supposedely tests for this, but apparently the test doesn't
+# work. Volunteers with FreeBSD are needed to improving the Configure test.
+# Meanwhile, the following workaround should be safe on all versions
+# of FreeBSD.
+d_printf_format_null='undef'