check for libz; refs #2

master
Marc Wäckerlin 13 years ago
parent 3361fbaafa
commit 82b4a5d0ff
  1. 10
      configure.in

@ -191,14 +191,20 @@ if test "$have_stacktrace" = "yes"; then
If you are not a developer, you perhaps don't need it...?])])
if test "$have_dynamicstack" != "yes"; then
AC_DEFINE([NO_LTDL])
AC_SEARCH_LIBS(compress, z,
[AC_MSG_RESULT([OK, found libz])],
[AC_MSG_ERROR([zlib 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(bfd_openr, bfd,
[AC_MSG_RESULT([OK, found libbfd])],
[AC_MSG_ERROR([BFD library from the binutils package not found!
It is required for stack trace!
- install binutils or binutils-devel
- or configure with option --enable-ltdl
- or configure with option --disable-stacktrace])],
-lz -ldl)
- or configure with option --disable-stacktrace])])
fi
# bug {
ac_includes_default=$old_ac_includes_default

Loading…
Cancel
Save