Signed-off-by: Alon Bar-Lev <alon.bar...@gmail.com>
---
 configure.ac |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 4e01231..d871657 100644
--- a/configure.ac
+++ b/configure.ac
@@ -268,6 +268,14 @@ AC_CHECK_LIB(
 )
 
 if test "${WIN32}" = "no"; then
+       dnl dl support
+       AC_CHECK_LIB(
+               [dl],
+               [dlopen],
+               ,
+               [AC_MSG_ERROR([libdl required])]
+       )
+
        dnl Special check for pthread support.
        ACX_PTHREAD(
                [AC_DEFINE(
-- 
1.7.3.4

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to