From: Adam Dickmeiss Date: Mon, 8 May 2006 18:18:11 +0000 (+0000) Subject: If libexslt is not found, tell when pkg-config is missing X-Git-Tag: METAPROXY.1.0.5 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=d839cb721fc3e18b021da0449e1b6ccb5c0bf39f;p=m4-moved-to-github.git If libexslt is not found, tell when pkg-config is missing --- diff --git a/yaz_libxml2.m4 b/yaz_libxml2.m4 index 73cd732..b8feab2 100644 --- a/yaz_libxml2.m4 +++ b/yaz_libxml2.m4 @@ -120,12 +120,18 @@ if test "$exsltdir" != "no"; then AC_DEFINE(HAVE_EXSLT) else AC_MSG_RESULT(Not found) + + if test "$pkgconfigpath" = "NONE"; then + extra="libEXLT not enabled. pkg-config not found." + else + extra="libEXLT development libraries not found." + fi if test "$exsltdir" = "default"; then - AC_MSG_WARN([libEXSLT development libraries not found.]) + AC_MSG_WARN([$extra]) else - AC_MSG_ERROR([libEXSLT development libraries not found.]) + AC_MSG_ERROR([$extra]) fi fi fi -]) \ No newline at end of file +])