From 2119e0b4277bc830f906f66b080ba8bc737694fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Tue, 10 Jul 2012 11:10:01 +0000 Subject: [PATCH] check for libdl; refs #2 --- configure.in | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 4bd05b5..50486be 100644 --- a/configure.in +++ b/configure.in @@ -193,10 +193,17 @@ if test "$have_stacktrace" = "yes"; then AC_DEFINE([NO_LTDL]) AC_SEARCH_LIBS(compress, z, [AC_MSG_RESULT([OK, found libz])], -[AC_MSG_ERROR([zlib not found! +[AC_MSG_ERROR([zlib (libz) not found! It is required for stack trace! - install zlib development package - or configure with option --enable-ltdl + - or configure with option --disable-stacktrace])]) + AC_SEARCH_LIBS(dlopen, dl, + [AC_MSG_RESULT([OK, found libdl])], +[AC_MSG_ERROR([libdl not found! +It is required for stack trace! + - install libdl development package + - or configure with option --enable-ltdl - or configure with option --disable-stacktrace])]) AC_SEARCH_LIBS(bfd_openr, bfd, [AC_MSG_RESULT([OK, found libbfd])],