X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=configure.ac;h=34e0ccf97b9580aee80f49c9b509c6c057f41f27;hb=b1b640a84feda9d1e4618f44d3d6754b690e3ee6;hp=e8f8a9896f1f1efb221d2475691f191c6141276e;hpb=fc03091031d85abfd274070e9d7a28424784441f;p=metaproxy-moved-to-github.git diff --git a/configure.ac b/configure.ac index e8f8a98..34e0ccf 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.4],[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]) @@ -61,6 +78,7 @@ fi AC_DEFINE_UNQUOTED([VERSION_SHA1], "$SHA1", [SHA-1 from Git]) AC_CONFIG_FILES([ + metaproxy-config Doxyfile Makefile include/Makefile include/metaproxy/Makefile @@ -73,6 +91,9 @@ AC_CONFIG_FILES([ doc/common/Makefile doc/common/print.dsl etc/Makefile +],[ + sed s%echo_source=yes%echo_source=no%g < metaproxy-config > src/metaproxy-config && chmod +x metaproxy-config src/metaproxy-config + ]) AC_OUTPUT