Commit b38a873c authored by Sam Lantinga's avatar Sam Lantinga

ate: Thu, 16 Jan 2003 13:48:31 +0200

From: "Mike Gorchak"

added support for checking libtool's version of libdl for dlopen.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40571
parent 43155b2e
...@@ -1044,6 +1044,9 @@ CheckOpenGLQNX() ...@@ -1044,6 +1044,9 @@ CheckOpenGLQNX()
if test x$video_opengl = xyes; then if test x$video_opengl = xyes; then
CFLAGS="$CFLAGS -DHAVE_OPENGL" CFLAGS="$CFLAGS -DHAVE_OPENGL"
SYSTEM_LIBS="$SYSTEM_LIBS -lGL" SYSTEM_LIBS="$SYSTEM_LIBS -lGL"
if test x$use_dlopen != xyes; then
AC_CHECK_LIB(ltdl, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS -lltdl")
fi
fi fi
fi fi
} }
...@@ -1558,7 +1561,7 @@ CheckDLOPEN() ...@@ -1558,7 +1561,7 @@ CheckDLOPEN()
if test x$use_dlopen = xyes; then if test x$use_dlopen = xyes; then
CFLAGS="$CFLAGS -DUSE_DLOPEN" CFLAGS="$CFLAGS -DUSE_DLOPEN"
AC_CHECK_LIB(dl, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS -ldl") AC_CHECK_LIB(dl, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS -ldl", AC_CHECK_LIB(ltdl, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS -lltdl"))
fi fi
fi fi
} }
......
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