Commit 6f979c15 authored by Tom Lane's avatar Tom Lane

Turns out that configure's test for HPUXMATHLIB didn't work

when used with egcs --- now it does.
parent df9e539e
This diff is collapsed.
......@@ -740,15 +740,17 @@ AC_CHECK_FUNC(cbrt,
# On HPUX 9, rint() is not in regular libm.a but in /lib/pa1.1/libm.a;
# this hackery with HPUXMATHLIB allows us to cope.
HPUXMATHLIB=""
case "$host_cpu" in
hppa1.1)
if [[ -r /lib/pa1.1/libm.a ]] ; then
HPUXMATHLIB="-L /lib/pa1.1 -lm"
fi ;;
esac
AC_SUBST(HPUXMATHLIB)
AC_CHECK_FUNC(rint,
AC_DEFINE(HAVE_RINT),
[
if [[ -r /lib/pa1.1/libm.a ]] ; then
HPUXMATHLIB="-L /lib/pa1.1 -lm"
fi
AC_CHECK_LIB(m, rint, AC_DEFINE(HAVE_RINT), , $HPUXMATHLIB)
])
AC_SUBST(HPUXMATHLIB)
AC_CHECK_LIB(m, rint, AC_DEFINE(HAVE_RINT), , $HPUXMATHLIB))
dnl Check to see if we have a working 64-bit integer type.
dnl This breaks down into two steps:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment