2 AM_INIT_AUTOMAKE("yaz++",0.9)
11 YAZ_INIT(threads,2.0.29)
12 if test -z "$YAZLIB"; then
13 AC_MSG_ERROR([YAZ development libraries missing])
16 AC_CHECK_HEADERS(unistd.h sys/stat.h sys/time.h sys/types.h)
18 AC_ARG_ENABLE(zoom,[ --disable-zoom disable ZOOM (for old C++ compilers)],[enable_zoom=$enableval],[enable_zoom=yes])
19 AM_CONDITIONAL(ZOOM, test $enable_zoom = "yes")
21 AC_SUBST(YAZPP_SRC_ROOT)
22 AC_SUBST(YAZPP_BUILD_ROOT)
23 YAZPP_SRC_ROOT=`cd ${srcdir}; pwd`
24 YAZPP_BUILD_ROOT=`pwd`
30 include/yaz++/Makefile
36 doc/yazprint.dsl doc/yazphp.dsl doc/yazhtml.dsl
38 ],[sed s%yaz_echo_source=yes%yaz_echo_source=no%g < yaz++-config >src/yaz++-config && chmod +x yaz++-config src/yaz++-config])