projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Factory: modify add_creator method
[metaproxy-moved-to-github.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
73eab3e
..
dff7dea
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-3,7
+3,7
@@
# Autoconf and automake setup
AC_PREREQ([2.60])
# Autoconf and automake setup
AC_PREREQ([2.60])
-AC_INIT([metaproxy],[1.0.18],[metaproxy-help@indexdata.dk])
+AC_INIT([metaproxy],[1.2.8],[metaproxy-help@indexdata.dk])
AC_CONFIG_HEADERS([src/config.hpp])
AC_CONFIG_HEADERS([src/config.hpp])
@@
-36,7
+36,7
@@
AC_CHECK_LIB([m],[main])
AC_CHECK_FUNCS([localtime_r])
## YAZPP checks
AC_CHECK_FUNCS([localtime_r])
## YAZPP checks
-YAZPP_INIT([threads],[1.1.3])
+YAZPP_INIT([threads],[1.2.6])
if test -z "$YAZPPLIB"; then
AC_MSG_ERROR([YAZ++ development libraries missing])
fi
if test -z "$YAZPPLIB"; then
AC_MSG_ERROR([YAZ++ development libraries missing])
fi
@@
-51,11
+51,34
@@
if test -z "${BOOST_TEST_LIB}"; then
AC_MSG_ERROR([Boost unit test framework libraries required])
fi
AC_MSG_ERROR([Boost unit test framework 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])
AC_CHECK_HEADERS([sys/select.h sys/socket.h])
+if test -d ${srcdir}/.git; then
+ SHA1=`git show --pretty=format:%H|head -1`
+else
+ SHA1=`head -1 ${srcdir}/ChangeLog|awk '{print $2}'`
+fi
+AC_DEFINE_UNQUOTED([VERSION_SHA1], "$SHA1", [SHA-1 from Git])
+
AC_CONFIG_FILES([
AC_CONFIG_FILES([
+ metaproxy-config
Doxyfile
Makefile
Doxyfile
Makefile
+ include/Makefile include/metaproxy/Makefile
src/Makefile
xml/Makefile
xml/schema/Makefile
src/Makefile
xml/Makefile
xml/schema/Makefile
@@
-65,6
+88,9
@@
AC_CONFIG_FILES([
doc/common/Makefile
doc/common/print.dsl
etc/Makefile
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
])
AC_OUTPUT