From 67473263a3c75d07a26bda7b5f945c091efa1eef Mon Sep 17 00:00:00 2001 From: Stefan Krah Date: Thu, 29 Nov 2012 00:17:05 +0100 Subject: Issue #16534: On HP-UX ac_cv_olimit_ok=yes is a false positive. --- configure | 9 ++++++++- configure.ac | 9 ++++++++- 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 -- cgit v0.12