If libexslt is not found, tell when pkg-config is missing METAPROXY.1.0.5
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 8 May 2006 18:18:11 +0000 (18:18 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 8 May 2006 18:18:11 +0000 (18:18 +0000)
yaz_libxml2.m4

index 73cd732..b8feab2 100644 (file)
@@ -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
+])