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.2.0],[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])
24 YAZ_INIT([static icu threads],[3.0.46])
25 if test -z "$YAZLIB"; then
26 AC_MSG_ERROR([YAZ development libraries missing])
30 AC_CHECK_HEADERS([sys/time.h sys/socket.h unistd.h netinet/in.h netdb.h arpa/inet.h glob.h])
31 AC_CHECK_FUNCS([getaddrinfo])
33 if test -d ${srcdir}/.git; then
34 sha=`git show --pretty=format:%H|head -1`
36 sha=`head -1 ${srcdir}/ChangeLog|awk '{print $2}'`
38 AC_DEFINE_UNQUOTED([PAZPAR2_VERSION_SHA1], ["$sha"], [Git SHA1])
57 "------------------------------------------------------------------------
61 Source code location: ${srcdir}
62 C Preprocessor: ${CPP}
63 C Preprocessor flags: ${CPPFLAGS}
65 C Compiler flags: ${CFLAGS}
66 Linker flags: ${LDFLAGS}
68 Host System Type: ${host}
69 Install path: ${prefix}
73 YAZ Version: ${YAZVERSION}
74 YAZ Include: ${YAZINC}
75 YAZ La Lib: ${YAZLALIB}
77 Bugreport: ${PACKAGE_BUGREPORT}
79 ------------------------------------------------------------------------"
84 dnl sh-basic-offset: 4