Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
71db5909
Commit
71db5909
authored
Jan 06, 2004
by
panne
Browse files
[project @ 2004-01-06 18:39:12 by panne]
Cleaned up libm detection
parent
37fe7975
Changes
2
Hide whitespace changes
Inline
Side-by-side
aclocal.m4
View file @
71db5909
...
...
@@ -1009,7 +1009,7 @@ else
esac
if test x"$use_quartz_opengl" != xyes; then
AC_CHECK_LIB([m], [
mai
n], [GL_LIBS="-lm $GL_LIBS"])
AC_CHECK_LIB([m], [
ata
n], [GL_LIBS="-lm $GL_LIBS"])
if test x"$no_x" != xyes; then
test -n "$x_includes" && GL_CFLAGS="-I$x_includes $GL_CFLAGS"
...
...
configure.ac
View file @
71db5909
...
...
@@ -1198,7 +1198,7 @@ else
fi
dnl ** check for math library
AC_CHECK_LIB([m], [
mai
n], [LIBM="-lm"], [LIBM=])
AC_CHECK_LIB([m], [
ata
n], [
LIBS="-lm $LIBS";
LIBM="-lm"], [LIBM=])
AC_SUBST([LIBM])
dnl ** check for X Window System
...
...
@@ -1309,8 +1309,6 @@ else
AC_SUBST(HaveRtldNow)
fi
FPTOOLS_CHECK_LIB_NOWARN(m, atan)
dnl ---------- usleep ----------
dnl --- stolen from guile configure ---
dnl --- FIXME: /usr/include/unistd.h can't be right?
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment