[Python-checkins] cpython (2.7): Issue #16534: On HP-UX ac_cv_olimit_ok=yes is a false positive.

stefan.krah python-checkins at python.org
Thu Nov 29 00:18:11 CET 2012


http://hg.python.org/cpython/rev/5697387b0089
changeset:   80634:5697387b0089
branch:      2.7
parent:      80627:78bad589f205
user:        Stefan Krah <skrah at bytereef.org>
date:        Thu Nov 29 00:17:05 2012 +0100
summary:
  Issue #16534: On HP-UX ac_cv_olimit_ok=yes is a false positive.

files:
  configure    |  9 ++++++++-
  configure.ac |  9 ++++++++-
  2 files changed, 16 insertions(+), 2 deletions(-)


diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -5792,7 +5792,14 @@
   { $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
 
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -1203,7 +1203,14 @@
   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
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list