From 042f7db8f01465205de1c41a2591e89bbdc81b8c Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 20 Jan 2003 01:37:07 +0000 Subject: [PATCH] ate: Thu, 16 Jan 2003 13:48:31 +0200 From: "Mike Gorchak" added support for checking libtool's version of libdl for dlopen. --- configure.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 64007ac9a..017df5878 100644 --- a/configure.in +++ b/configure.in @@ -1044,6 +1044,9 @@ CheckOpenGLQNX() if test x$video_opengl = xyes; then CFLAGS="$CFLAGS -DHAVE_OPENGL" 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 } @@ -1558,7 +1561,7 @@ CheckDLOPEN() if test x$use_dlopen = xyes; then 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 }