Allow -Duse64bitint without promoting to use64bitall on HP-UX
H.Merijn Brand [Mon, 15 Mar 2010 15:33:22 +0000 (16:33 +0100)]
Fix for http://rt.perl.org/rt3/Public/Bug/Display.html?id=17736

hints/hpux.sh

index bdfbec1..8d0aaf7 100644 (file)
@@ -279,14 +279,18 @@ EOM
                                        ldflags="$ldflags -mlp64"
                                        ;;
                                    esac
-                                   ;;
+                               ;;
                            esac
                        ;;
                    esac
                ;;
            *)
-               ccflags="$ccflags +DD64"
-               ldflags="$ldflags +DD64"
+               case "$use64bitall" in
+                   $define|true|[yY]*)
+                       ccflags="$ccflags +DD64"
+                       ldflags="$ldflags +DD64"
+                       ;;
+                   esac
                ;;
            esac