1 dnl YAZ++ Toolkit, Index Data 1994-2006
2 dnl See the file LICENSE for details.
3 dnl $Id: configure.ac,v 1.9 2006-07-07 06:18:24 adam Exp $
5 AC_INIT([yazpp],[1.0.1],[adam@indexdata.dk])
6 AC_CONFIG_SRCDIR(configure.ac)
7 AC_CONFIG_AUX_DIR([config])
8 AM_INIT_AUTOMAKE([1.8])
16 YAZ_INIT(threads,2.1.18)
17 if test -z "$YAZLIB"; then
18 AC_MSG_ERROR([YAZ development libraries missing])
21 AC_CHECK_HEADERS(unistd.h sys/stat.h sys/time.h sys/types.h)
23 AC_ARG_ENABLE(zoom,[ --disable-zoom disable ZOOM (for old C++ compilers)],[enable_zoom=$enableval],[enable_zoom=yes])
24 AM_CONDITIONAL(ZOOM, test $enable_zoom = "yes")
26 AC_SUBST(YAZPP_SRC_ROOT)
27 AC_SUBST(YAZPP_BUILD_ROOT)
28 YAZPP_SRC_ROOT=`cd ${srcdir}; pwd`
29 YAZPP_BUILD_ROOT=`pwd`
35 include/yazpp/Makefile
43 ],[sed s%yaz_echo_source=yes%yaz_echo_source=no%g < yazpp-config >src/yazpp-config && chmod +x yazpp-config src/yazpp-config])