# HG changeset patch # User Sam Lantinga # Date 1043026627 0 # Node ID 04d6411da49d08ae8f3801c38af2d19c2f9b4f2a # Parent e8063c65662607eb33715ee69167ae0039760a2e ate: Thu, 16 Jan 2003 13:48:31 +0200 From: "Mike Gorchak" added support for checking libtool's version of libdl for dlopen. diff -r e8063c656626 -r 04d6411da49d configure.in --- a/configure.in Mon Jan 20 01:36:28 2003 +0000 +++ b/configure.in Mon Jan 20 01:37:07 2003 +0000 @@ -1044,6 +1044,9 @@ 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 @@ 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 }