added Doxygen file, now supporting target 'make dox'
[pazpar2-moved-to-github.git] / configure.ac
1 ## -*- Autoconf -*-
2 ## Process this file with autoconf to produce a configure script.
3
4 # Autoconf and automake setup
5 AC_PREREQ(2.59)
6 AC_INIT([pazpar2],[0.1],[pazpar2-help@indexdata.dk])
7
8 AC_CONFIG_HEADERS(src/cconfig.h)
9
10 AC_CONFIG_SRCDIR([configure.ac]) 
11 AC_CONFIG_AUX_DIR([config])
12 AC_CANONICAL_SYSTEM
13
14 AM_INIT_AUTOMAKE([1.8])
15
16 AC_PROG_CC
17
18 AC_LANG(C)
19
20 YAZ_INIT(libxml2,2.1.50)
21 if test -z "$YAZLIB"; then
22         AC_MSG_ERROR([YAZ development libraries missing])
23 fi
24 YAZ_DOC
25
26 AC_CONFIG_FILES([
27         Doxyfile
28         Makefile
29         src/Makefile
30         doc/Makefile
31         doc/local.ent
32         doc/common/Makefile
33         doc/common/print.dsl
34
35 ])
36
37 AC_OUTPUT
38
39
40 echo \
41 "------------------------------------------------------------------------
42
43   Package:                    ${PACKAGE}
44   Version:                    ${VERSION}
45   Source code location:       ${srcdir}
46   C Preprocessor:             ${CPP}
47   C Preprocessor flags:       ${CPPFLAGS}
48   C Compiler:                 ${CC}
49   C Compiler flags:           ${CFLAGS}
50   Linker flags:               ${LDFLAGS}
51   Linked libs:                ${LIBS}
52   Host System Type:           ${host}
53   Install path:               ${prefix}
54   Automake:                   ${AUTOMAKE}
55   Archiver:                   ${AR}
56   Ranlib:                     ${RANLIB}
57   YAZ Version:                ${YAZVERSION}
58   YAZ Include:                ${YAZINC}
59   YAZ La Lib:                 ${YAZLALIB}
60   YAZ Lib:                    ${YAZLIB}
61   Bugreport:                  ${PACKAGE_BUGREPORT}
62
63 ------------------------------------------------------------------------"
64
65 dnl Local Variables:
66 dnl mode:shell-script
67 dnl sh-indentation:2
68 dnl sh-basic-offset: 4
69 dnl End: