X-Git-Url: http://git.indexdata.com/?p=m4-moved-to-github.git;a=blobdiff_plain;f=yaz_libxml2.m4;h=b8feab2d60f62863e46247564083b30eec7f4375;hp=73cd7327c6d784e0a5dedd05d269bf9050efdbf2;hb=d839cb721fc3e18b021da0449e1b6ccb5c0bf39f;hpb=65c44047e0760d7613c3ce797203c4232f123d35 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 +])