Automaked pazpar2. Bug #799. Preprocessor defines are put in cconfig.h and
[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.44)
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         Makefile
28         src/Makefile
29 ])
30
31 AC_OUTPUT