Commit 71db5909 authored by panne's avatar panne
Browse files

[project @ 2004-01-06 18:39:12 by panne]

Cleaned up libm detection
parent 37fe7975
......@@ -1009,7 +1009,7 @@ else
esac
if test x"$use_quartz_opengl" != xyes; then
AC_CHECK_LIB([m], [main], [GL_LIBS="-lm $GL_LIBS"])
AC_CHECK_LIB([m], [atan], [GL_LIBS="-lm $GL_LIBS"])
if test x"$no_x" != xyes; then
test -n "$x_includes" && GL_CFLAGS="-I$x_includes $GL_CFLAGS"
......
......@@ -1198,7 +1198,7 @@ else
fi
dnl ** check for math library
AC_CHECK_LIB([m], [main], [LIBM="-lm"], [LIBM=])
AC_CHECK_LIB([m], [atan], [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?
......
Supports Markdown
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