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])
29 ICU_CPPFLAGS="$ICU_CPPFLAGS -D HAVE_ICU=1"],[
30 AC_MSG_WARN([For ICU support please install libicu36-dev or similar])
32 dnl Breaks 'make dist'
33 dnl ln -sf ../../js/pz2.js www/example/pz2.js
34 dnl ln -sf ../../../js/pz2.js www/masterkey/js/pz2.js
53 "------------------------------------------------------------------------
57 Source code location: ${srcdir}
58 C Preprocessor: ${CPP}
59 C Preprocessor flags: ${CPPFLAGS}
61 C Compiler flags: ${CFLAGS}
62 Linker flags: ${LDFLAGS}
64 Host System Type: ${host}
65 Install path: ${prefix}
69 YAZ Version: ${YAZVERSION}
70 YAZ Include: ${YAZINC}
71 YAZ La Lib: ${YAZLALIB}
73 ICU Version: ${ICU_VERSION}
74 ICU Include: ${ICU_CPPFLAGS}
76 Bugreport: ${PACKAGE_BUGREPORT}
78 ------------------------------------------------------------------------"
83 dnl sh-basic-offset: 4