Issue #16534: On HP-UX ac_cv_olimit_ok=yes is a false positive.

This commit is contained in:
Stefan Krah 2012-11-29 00:17:05 +01:00
parent 3a237ebcaa
commit 67473263a3
2 changed files with 16 additions and 2 deletions

7
configure vendored
View File

@ -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
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

View 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
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