From: Stefan Krah Date: Wed, 28 Nov 2012 23:17:05 +0000 (+0100) Subject: Issue #16534: On HP-UX ac_cv_olimit_ok=yes is a false positive. X-Git-Tag: v2.7.4rc1~344 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=67473263a3c75d07a26bda7b5f945c091efa1eef;p=thirdparty%2FPython%2Fcpython.git Issue #16534: On HP-UX ac_cv_olimit_ok=yes is a false positive. --- diff --git a/configure b/configure index 992ff183638c..2295f0531d94 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 e5ed4fac0e80..09275b23b0da 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