2 ## Process this file with autoconf to produce a configure script.
4 # Autoconf and automake setup
6 AC_INIT([pazpar2],[1.0.5],[pazpar2-help@indexdata.dk])
8 AC_CONFIG_HEADERS(src/cconfig.h)
10 AC_CONFIG_SRCDIR([configure.ac])
11 AC_CONFIG_AUX_DIR([config])
14 AM_INIT_AUTOMAKE([1.8])
21 YAZ_INIT([static threads],[3.0.4])
22 if test -z "$YAZLIB"; then
23 AC_MSG_ERROR([YAZ development libraries missing])
27 AC_CHECK_FUNCS([getaddrinfo])
28 AC_CHECK_ICU([3.6],[ICU_CPPFLAGS="$ICU_CPPFLAGS -D HAVE_ICU=1"])
46 "------------------------------------------------------------------------
50 Source code location: ${srcdir}
51 C Preprocessor: ${CPP}
52 C Preprocessor flags: ${CPPFLAGS}
54 C Compiler flags: ${CFLAGS}
55 Linker flags: ${LDFLAGS}
57 Host System Type: ${host}
58 Install path: ${prefix}
62 YAZ Version: ${YAZVERSION}
63 YAZ Include: ${YAZINC}
64 YAZ La Lib: ${YAZLALIB}
66 ICU Version: ${ICU_VERSION}
67 ICU Include: ${ICU_CPPFLAGS}
69 Bugreport: ${PACKAGE_BUGREPORT}
71 ------------------------------------------------------------------------"
76 dnl sh-basic-offset: 4