1 dnl This file is part of yazpp
2 dnl Copyright (C) 1998-2011 Index Data
5 m4_esyscmd([. ./IDMETA; echo $VERSION|tr -d '\n']),
7 AC_CONFIG_HEADERS([include/config.h])
8 AC_CONFIG_SRCDIR(configure.ac)
9 AC_CONFIG_AUX_DIR([config])
10 AM_INIT_AUTOMAKE([1.9])
18 YAZ_INIT([threads],[4.2.8])
19 if test -z "$YAZLIB"; then
20 AC_MSG_ERROR([YAZ development libraries missing])
23 AC_CHECK_HEADERS([unistd.h sys/stat.h sys/time.h sys/types.h fcntl.h])
25 AC_ARG_ENABLE(zoom,[ --disable-zoom disable ZOOM (for old C++ compilers)],[enable_zoom=$enableval],[enable_zoom=yes])
26 AM_CONDITIONAL(ZOOM, test $enable_zoom = "yes")
33 include/yazpp/Makefile
41 ],[sed s%echo_source=yes%echo_source=no%g < yazpp-config >src/yazpp-config && chmod +x yazpp-config src/yazpp-config])
45 "------------------------------------------------------------------------
47 YAZPP Package: ${PACKAGE}
48 YAZPP Version: ${VERSION}
49 Source code location: ${srcdir}
50 CPP Preprocessor: ${CPP}
51 CPP Preprocessor flags: ${CPPFLAGS}
53 CXX Compiler flags: ${CXXFLAGS}
54 Linker flags: ${LDFLAGS}
56 Host System Type: ${host}
57 Install path: ${prefix}
61 YAZ Version: ${YAZVERSION}
62 YAZ Include: ${YAZINC}
63 YAZ La Lib: ${YAZLALIB}
65 Bugreport: ${PACKAGE_BUGREPORT}
67 ------------------------------------------------------------------------"