Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit36b0360

Browse files
committed
Update for hpux and rint
1 parente36f96e commit36b0360

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

‎src/configure.in

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,14 @@ AC_CHECK_FUNC(cbrt,
582582
AC_CHECK_LIB(m, cbrt, AC_DEFINE(HAVE_CBRT)))
583583
AC_CHECK_FUNC(rint,
584584
AC_DEFINE(HAVE_RINT),
585-
AC_CHECK_LIB(m, rint, AC_DEFINE(HAVE_RINT)))
585+
[
586+
# On HPUX 9, rint() is not in regular libm.a but in /lib/pa1.1/libm.a
587+
SPECIALMATHLIB=""
588+
if [[ -r /lib/pa1.1/libm.a ]] ; then
589+
SPECIALMATHLIB="-L /lib/pa1.1 -lm"
590+
fi
591+
AC_CHECK_LIB(m, rint, AC_DEFINE(HAVE_RINT), , $SPECIALMATHLIB)
592+
])
586593

587594
dnl Check for X libraries
588595

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp