]> code.delx.au - pulseaudio/commitdiff
Make it more clear that PulseAudio needs libtool 2.2.
authorDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>
Sat, 13 Jun 2009 15:27:42 +0000 (17:27 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 29 Jun 2009 15:39:32 +0000 (17:39 +0200)
The error message was way too generic, as it was very possible that libltdl
_is_ in the system but is not found because too old. Disambiguate this by
explicitly stating that the version 2 of the library is not found.

configure.ac

index d2d80157b2221a394ecbf32175ad074bfdf21b80..06539b3b6b071c479d56e04b04c9dc4a93d18073 100644 (file)
@@ -277,7 +277,7 @@ AC_CHECK_HEADER([ltdl.h],
     [LIBLTDL=])
 
 AS_IF([test "x$LIBLTDL" = "x"],
     [LIBLTDL=])
 
 AS_IF([test "x$LIBLTDL" = "x"],
-    [AC_MSG_ERROR([Unable to find libltdl.])])
+    [AC_MSG_ERROR([Unable to find libltdl version 2. Makes sure you have libtool 2.2 or later installed.])])
 AC_SUBST([LIBLTDL])
 
 #### Determine build environment ####
 AC_SUBST([LIBLTDL])
 
 #### Determine build environment ####