Updated source file headers with new year and no CVS Id.
[pazpar2-moved-to-github.git] / configure.ac
1 ## -*- Autoconf -*-
2 ## This file is part of Pazpar2.
3 ## Process this file with autoconf to produce a configure script.
4
5 # Autoconf and automake setup
6 AC_PREREQ(2.60)
7 AC_INIT([pazpar2],[1.0.6],[pazpar2-help@indexdata.dk])
8
9 AC_CONFIG_HEADERS(src/cconfig.h)
10
11 AC_CONFIG_SRCDIR([configure.ac]) 
12 AC_CONFIG_AUX_DIR([config])
13 AC_CANONICAL_SYSTEM
14
15 AM_INIT_AUTOMAKE([1.9])
16
17 AC_PROG_CC
18 AC_PROG_RANLIB
19
20 AC_LANG(C)
21
22 YAZ_INIT([static threads],[3.0.25])
23 if test -z "$YAZLIB"; then
24         AC_MSG_ERROR([YAZ development libraries missing])
25 fi
26 YAZ_DOC
27
28 AC_CHECK_FUNCS([getaddrinfo])
29 AC_CHECK_ICU([3.6],[ICU_CPPFLAGS="$ICU_CPPFLAGS -D HAVE_ICU=1"])
30 AC_CONFIG_FILES([
31         Doxyfile
32         Makefile
33         src/Makefile
34         test/Makefile
35         js/Makefile
36         doc/Makefile
37         doc/local.ent
38         doc/common/Makefile
39         doc/common/print.dsl
40
41 ])
42
43 AC_OUTPUT
44
45
46 echo \
47 "------------------------------------------------------------------------
48
49   Package:                    ${PACKAGE}
50   Version:                    ${VERSION}
51   Source code location:       ${srcdir}
52   C Preprocessor:             ${CPP}
53   C Preprocessor flags:       ${CPPFLAGS}
54   C Compiler:                 ${CC}
55   C Compiler flags:           ${CFLAGS}
56   Linker flags:               ${LDFLAGS}
57   Linked libs:                ${LIBS}
58   Host System Type:           ${host}
59   Install path:               ${prefix}
60   Automake:                   ${AUTOMAKE}
61   Archiver:                   ${AR}
62   Ranlib:                     ${RANLIB}
63   YAZ Version:                ${YAZVERSION}
64   YAZ Include:                ${YAZINC}
65   YAZ La Lib:                 ${YAZLALIB}
66   YAZ Lib:                    ${YAZLIB}
67   ICU Version:                ${ICU_VERSION}
68   ICU Include:                ${ICU_CPPFLAGS}
69   ICU Lib:                    ${ICU_LIBS}
70   Bugreport:                  ${PACKAGE_BUGREPORT}
71
72 ------------------------------------------------------------------------"
73
74 dnl Local Variables:
75 dnl mode:shell-script
76 dnl sh-indentation:2
77 dnl sh-basic-offset: 4
78 dnl End: