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.1.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])
22 YAZ_INIT([static icu threads],[3.0.39])
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])
31 if test -d ${srcdir}/.git; then
32 sha=`git show --pretty=format:%H|head -1`
34 sha=`head -1 ${srcdir}/ChangeLog|awk '{print $2}'`
36 AC_DEFINE_UNQUOTED([PAZPAR2_VERSION_SHA1], ["$sha"], [Git SHA1])
55 "------------------------------------------------------------------------
59 Source code location: ${srcdir}
60 C Preprocessor: ${CPP}
61 C Preprocessor flags: ${CPPFLAGS}
63 C Compiler flags: ${CFLAGS}
64 Linker flags: ${LDFLAGS}
66 Host System Type: ${host}
67 Install path: ${prefix}
71 YAZ Version: ${YAZVERSION}
72 YAZ Include: ${YAZINC}
73 YAZ La Lib: ${YAZLALIB}
75 Bugreport: ${PACKAGE_BUGREPORT}
77 ------------------------------------------------------------------------"
82 dnl sh-basic-offset: 4