Message-ID: <
44CE6BC7.8060805@iki.fi>
Just the hints/dec_osf.sh changes from this set of patches.
p4raw-id: //depot/perl@28633
# Be nauseatingly ANSI
ccflags="$ccflags $_ccflags_strict_ansi"
+# g++ needs -D_XOPEN_SOURCE -D_OSF_SOURCE to get much use of <unistd.h>.
+case "$cc" in
+*g++*) ccflags="$ccflags -D_XOPEN_SOURCE -D_OSF_SOURCE" ;;
+esac
+
# for gcc the Configure knows about the -fpic:
# position-independent code for dynamic loading
case "$isgcc" in
gcc) # gcc 3.2.1 wants a lot of memory for -O3'ing toke.c
cat >try.c <<EOF
+#include <stdio.h>
#include <sys/resource.h>
int main ()