2 ## This file is part of Pazpar2.
3 ## Process this file with autoconf to produce a configure script.
5 # Autoconf and automake setup
7 AC_INIT([pazpar2],[1.0.9],[pazpar2-help@indexdata.dk])
9 AC_CONFIG_HEADERS(src/config.h)
11 AC_CONFIG_SRCDIR([configure.ac])
12 AC_CONFIG_AUX_DIR([config])
15 AM_INIT_AUTOMAKE([1.9])
22 YAZ_INIT([static threads],[3.0.29])
23 if test -z "$YAZLIB"; then
24 AC_MSG_ERROR([YAZ development libraries missing])
28 AC_CHECK_HEADERS([sys/time.h sys/socket.h unistd.h netinet/in.h netdb.h arpa/inet.h])
29 AC_CHECK_FUNCS([getaddrinfo])
30 AC_CHECK_ICU([3.6],[ICU_CPPFLAGS="$ICU_CPPFLAGS -D HAVE_ICU=1"])
48 "------------------------------------------------------------------------
52 Source code location: ${srcdir}
53 C Preprocessor: ${CPP}
54 C Preprocessor flags: ${CPPFLAGS}
56 C Compiler flags: ${CFLAGS}
57 Linker flags: ${LDFLAGS}
59 Host System Type: ${host}
60 Install path: ${prefix}
64 YAZ Version: ${YAZVERSION}
65 YAZ Include: ${YAZINC}
66 YAZ La Lib: ${YAZLALIB}
68 ICU Version: ${ICU_VERSION}
69 ICU Include: ${ICU_CPPFLAGS}
71 Bugreport: ${PACKAGE_BUGREPORT}
73 ------------------------------------------------------------------------"
78 dnl sh-basic-offset: 4