summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2012-11-28 23:17:05 (GMT)
committerStefan Krah <skrah@bytereef.org>2012-11-28 23:17:05 (GMT)
commit67473263a3c75d07a26bda7b5f945c091efa1eef (patch)
tree32236e6dc6758c14643e568aacc44bdafa513667
parent3a237ebcaaf80ac293d4ef3e9b430b81fd7c236b (diff)
downloadcpython-67473263a3c75d07a26bda7b5f945c091efa1eef.zip
cpython-67473263a3c75d07a26bda7b5f945c091efa1eef.tar.gz
cpython-67473263a3c75d07a26bda7b5f945c091efa1eef.tar.bz2
Issue #16534: On HP-UX ac_cv_olimit_ok=yes is a false positive.
-rwxr-xr-xconfigure9
-rw-r--r--configure.ac9
2 files changed, 16 insertions, 2 deletions
diff --git a/configure b/configure
index 992ff18..2295f05 100755
--- 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
diff --git a/configure.ac b/configure.ac
index e5ed4fa..09275b2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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