Skip to content
Permalink
Browse files

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

From: "Mike Gorchak"

added support for checking libtool's version of libdl for dlopen.
  • Loading branch information
slouken committed Jan 20, 2003
1 parent bac60fe commit 042f7db8f01465205de1c41a2591e89bbdc81b8c
Showing with 4 additions and 1 deletion.
  1. +4 −1 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
}

0 comments on commit 042f7db

Please sign in to comment.