1 dnl This file is part of yazpp
2 dnl Copyright (C) 1998-2011 Index Data
4 AC_INIT([yazpp],[1.2.5],[adam@indexdata.dk])
5 AC_CONFIG_HEADERS([include/config.h])
6 AC_CONFIG_SRCDIR(configure.ac)
7 AC_CONFIG_AUX_DIR([config])
8 AM_INIT_AUTOMAKE([1.9])
16 YAZ_INIT([threads],[4.0.8])
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 fcntl.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")
31 include/yazpp/Makefile
39 ],[sed s%echo_source=yes%echo_source=no%g < yazpp-config >src/yazpp-config && chmod +x yazpp-config src/yazpp-config])
43 "------------------------------------------------------------------------
45 YAZPP Package: ${PACKAGE}
46 YAZPP Version: ${VERSION}
47 Source code location: ${srcdir}
48 CPP Preprocessor: ${CPP}
49 CPP Preprocessor flags: ${CPPFLAGS}
51 CXX Compiler flags: ${CXXFLAGS}
52 Linker flags: ${LDFLAGS}
54 Host System Type: ${host}
55 Install path: ${prefix}
59 YAZ Version: ${YAZVERSION}
60 YAZ Include: ${YAZINC}
61 YAZ La Lib: ${YAZLALIB}
63 Bugreport: ${PACKAGE_BUGREPORT}
65 ------------------------------------------------------------------------"