The UINT32_MAX_BROKEN is still needed for pre-gcc-3
Jarkko Hietaniemi [Fri, 15 Mar 2002 19:41:43 +0000 (19:41 +0000)]
in HP-UX (from H.Merijn Brand)

p4raw-id: //depot/perl@15247

hints/hpux.sh

index 77a6463..ebe2a21 100644 (file)
@@ -73,6 +73,11 @@ case `$cc -v 2>&1`"" in
                # Done too late in Configure if hinted
                gccversion=`$cc --version`
                fi
+           case "$gccversion in
+               [012]*) # HP-UX and gcc-2.* break UINT32_MAX :-(
+                       ccflags="$ccflags -DUINT32_MAX_BROKEN"
+                       ;;
+               esac
            case "`getconf KERNEL_BITS 2>/dev/null`" in
                *64*)
                    echo "main(){}">try.c