1 dnl YAZ++ Toolkit, Index Data 1994-2006
2 dnl See the file LICENSE for details.
3 dnl $Id: configure.ac,v 1.2 2006-03-29 13:14:13 adam Exp $
5 AC_INIT([yazpp],[1.0.0],[adam@indexdata.dk])
6 AC_CONFIG_SRCDIR(configure.ac)
7 AC_CONFIG_AUX_DIR([config])
8 AM_INIT_AUTOMAKE([1.8])
17 YAZ_INIT(threads,2.1.11)
18 if test -z "$YAZLIB"; then
19 AC_MSG_ERROR([YAZ development libraries missing])
22 AC_CHECK_HEADERS(unistd.h sys/stat.h sys/time.h sys/types.h)
24 AC_ARG_ENABLE(zoom,[ --disable-zoom disable ZOOM (for old C++ compilers)],[enable_zoom=$enableval],[enable_zoom=yes])
25 AM_CONDITIONAL(ZOOM, test $enable_zoom = "yes")
27 AC_SUBST(YAZPP_SRC_ROOT)
28 AC_SUBST(YAZPP_BUILD_ROOT)
29 YAZPP_SRC_ROOT=`cd ${srcdir}; pwd`
30 YAZPP_BUILD_ROOT=`pwd`
36 include/yazpp/Makefile
42 doc/yazprint.dsl doc/yazphp.dsl doc/yazhtml.dsl
44 ],[sed s%yaz_echo_source=yes%yaz_echo_source=no%g < yazpp-config >src/yazpp-config && chmod +x yazpp-config src/yazpp-config])