]> granicus.if.org Git - python/commitdiff
Issue #16534: On HP-UX ac_cv_olimit_ok=yes is a false positive.
authorStefan Krah <skrah@bytereef.org>
Wed, 28 Nov 2012 23:17:05 +0000 (00:17 +0100)
committerStefan Krah <skrah@bytereef.org>
Wed, 28 Nov 2012 23:17:05 +0000 (00:17 +0100)
configure
configure.ac

index 992ff183638cac8a58c89b4cd9c823197e852429..2295f0531d94f88790458993d6535e61c756a56c 100755 (executable)
--- a/configure
+++ b/configure
@@ -5792,7 +5792,14 @@ fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_olimit_ok" >&5
 $as_echo "$ac_cv_olimit_ok" >&6; }
   if test $ac_cv_olimit_ok = yes; then
-    BASECFLAGS="$BASECFLAGS -Olimit 1500"
+    case $ac_sys_system in
+        # Issue #16534: On HP-UX ac_cv_olimit_ok=yes is a false positive.
+        HP-UX*)
+            ;;
+        *)
+            BASECFLAGS="$BASECFLAGS -Olimit 1500"
+            ;;
+    esac
   fi
 fi
 
index e5ed4fac0e8044da0bfaaac1af7735a9019ef734..09275b23b0da265c6902246a6279c0882f7dc5a3 100644 (file)
@@ -1203,7 +1203,14 @@ else
   CC="$ac_save_cc"])
   AC_MSG_RESULT($ac_cv_olimit_ok)
   if test $ac_cv_olimit_ok = yes; then
-    BASECFLAGS="$BASECFLAGS -Olimit 1500"
+    case $ac_sys_system in
+        # Issue #16534: On HP-UX ac_cv_olimit_ok=yes is a false positive.
+        HP-UX*)
+            ;;
+        *)
+            BASECFLAGS="$BASECFLAGS -Olimit 1500"
+            ;;
+    esac
   fi
 fi