2 ## Process this file with autoconf to produce a configure script.
4 # Autoconf and automake setup
6 AC_INIT([pazpar2],[1.0.3],[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 AC_MSG_WARN([For ICU internationalizing support please install libicu36-dev or similar]))
31 dnl Breaks 'make dist'
32 dnl ln -sf ../../js/pz2.js www/example/pz2.js
33 dnl ln -sf ../../../js/pz2.js www/masterkey/js/pz2.js
52 "------------------------------------------------------------------------
56 Source code location: ${srcdir}
57 C Preprocessor: ${CPP}
58 C Preprocessor flags: ${CPPFLAGS}
60 C Compiler flags: ${CFLAGS}
61 Linker flags: ${LDFLAGS}
63 Host System Type: ${host}
64 Install path: ${prefix}
68 YAZ Version: ${YAZVERSION}
69 YAZ Include: ${YAZINC}
70 YAZ La Lib: ${YAZLALIB}
72 ICU Version: ${ICU_VERSION}
73 ICU Include: ${ICU_CPPFLAGS}
75 Bugreport: ${PACKAGE_BUGREPORT}
77 ------------------------------------------------------------------------"
82 dnl sh-basic-offset: 4