Commit 827b49e5 authored by simonmar's avatar simonmar
Browse files

[project @ 2001-02-13 10:57:24 by simonmar]

do the dlopen() check a better way.
parent c8080355
......@@ -846,14 +846,12 @@ dnl ################################################################
dnl Check for libraries
dnl ################################################################
AC_CHECK_LIB(dl, dlopen, [
HaveLibDL=YES
AC_DEFINE(HAVE_LIBDL)], [HaveLibDL=NO])
if test x$HaveLibDL = xYES; then
AC_DEFINE(HAVE_DLOPEN)
else
AC_CHECK_FUNCS(dlopen)
fi
AC_CHECK_LIB(dl, dlopen,
[HaveLibDL=YES
AC_DEFINE(HAVE_LIBDL)
LIBS="$LIBS -ldl"],
[HaveLibDL=NO])
AC_CHECK_FUNCS(dlopen)
AC_SUBST(HaveLibDL)
FPTOOLS_CHECK_LIB_NOWARN(m, atan)
......
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