From: Lennart Poettering Date: Fri, 16 Sep 2005 00:02:10 +0000 (+0000) Subject: print a nice message when libltdl is missing X-Git-Tag: submit/2.0-panda/20130828.192557~4157 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=652e000f9e3b75fb705abf30c0dc447283a64191;p=profile%2Fivi%2Fpulseaudio-panda.git print a nice message when libltdl is missing git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@353 fefdeb5f-60dc-0310-8127-8f9354f1896f --- diff --git a/configure.ac b/configure.ac index 27cfeec..1254134 100644 --- a/configure.ac +++ b/configure.ac @@ -46,6 +46,14 @@ AC_LIBTOOL_DLOPEN AC_PROG_LIBTOOL AC_CONFIG_SUBDIRS(libltdl) +if test "x$ac_cv_lib_ltdl_lt_dlinit" = "xno" ; then + AC_MSG_ERROR([[ + + *** Cannot find the libltdl development files. + *** Maybe you need to install the libltdl-dev package. + ]]) +fi + # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h limits.h malloc.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h unistd.h syslog.h])