X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=configure.ac;h=033840f114e1333f3a1fee3bdb00f8622def2d4f;hb=6e5694249f3031e2d1d09ef4449e446403054d5e;hp=24c0745538f8d482d02212c49ab1109efa90db9f;hpb=dd6954fd5ae7c0bd90df8869f2351a72ee363440;p=metaproxy-moved-to-github.git diff --git a/configure.ac b/configure.ac index 24c0745..033840f 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ # Autoconf and automake setup AC_PREREQ([2.60]) -AC_INIT([metaproxy],[1.2.1],[metaproxy-help@indexdata.dk]) +AC_INIT([metaproxy],[1.3.2],[metaproxy-help@indexdata.dk]) AC_CONFIG_HEADERS([src/config.hpp]) @@ -36,20 +36,37 @@ AC_CHECK_LIB([m],[main]) AC_CHECK_FUNCS([localtime_r]) ## YAZPP checks -YAZPP_INIT([threads],[1.2.3]) +YAZPP_INIT([threads],[1.2.6]) if test -z "$YAZPPLIB"; then AC_MSG_ERROR([YAZ++ development libraries missing]) fi YAZ_DOC CPPFLAGS="$YAZPPINC $CPPFLAGS" -ID_BOOST([thread test],[1.33]) +ID_BOOST([thread test regex],[1.33]) if test -z "${BOOST_THREAD_LIB}"; then AC_MSG_ERROR([Boost thread development libraries required]) fi if test -z "${BOOST_TEST_LIB}"; then AC_MSG_ERROR([Boost unit test framework libraries required]) fi +if test -z "${BOOST_REGEX_LIB}"; then + AC_MSG_ERROR([Boost regex development libraries required]) +fi + +xml_avail=false +xslt_avail=false +YAZ_LIBXML2([xml_avail=true]) +if $xml_avail; then + YAZ_LIBXSLT([xslt_avail=true]) +else + AC_MSG_ERROR([Libxml2 development files not found]) +fi +if $xslt_avail; then + : +else + AC_MSG_ERROR([Libxslt development files not found]) +fi AC_CHECK_HEADERS([sys/select.h sys/socket.h])