2 ## Process this file with autoconf to produce a configure script.
4 # Autoconf and automake setup
6 AC_INIT([metaproxy],[1.0.13],[metaproxy-help@indexdata.dk])
8 AC_CONFIG_HEADERS([src/config.hpp])
10 AC_CONFIG_SRCDIR([configure.ac])
11 AC_CONFIG_AUX_DIR([config])
14 AM_INIT_AUTOMAKE([1.9])
24 # Default language to use for tests (some tests may switch to C++)
27 if test "$enable_shared" = "yes"; then
28 AC_DEFINE([HAVE_DL_SUPPORT],[1],
29 [Define to 1 if you have shared module support])
32 # Checks for libraries.
33 AC_CHECK_LIB([dl],[dlopen])
34 AC_CHECK_LIB([m],[main])
36 AC_CHECK_FUNCS([localtime_r])
39 YAZPP_INIT([threads],[1.1.0])
40 if test -z "$YAZPPLIB"; then
41 AC_MSG_ERROR([YAZ++ development libraries missing])
44 CPPFLAGS="$YAZPPINC $CPPFLAGS"
46 ID_BOOST([thread test],[1.33])
48 AC_CHECK_HEADERS([sys/select.h sys/socket.h])
72 "------------------------------------------------------------------------
76 Source code location: ${srcdir}
77 CPP Preprocessor: ${CPP}
78 CPP Preprocessor flags: ${CPPFLAGS}
80 CXX Compiler flags: ${CXXFLAGS}
81 Linker flags: ${LDFLAGS}
83 Host System Type: ${host}
84 Install path: ${prefix}
88 Boost Version: ${BOOST_VERSION}
89 Boost Include: ${BOOST_CPPFLAGS}
90 Boost linker flags: ${BOOST_LDFLAGS}
91 Boost Libs: ${BOOST_DATE_TIME_LIB} ${BOOST_THREAD_LIB}
92 YAZPP Version: ${YAZPPVERSION}
93 YAZPP Include: ${YAZPPINC}
94 YAZPP La Lib: ${YAZPPLALIB}
95 YAZPP Lib: ${YAZPPLIB}
96 Bugreport: ${PACKAGE_BUGREPORT}
98 ------------------------------------------------------------------------"
100 dnl mode:shell-script
101 dnl sh-indentation: 2
102 dnl sh-basic-offset: 4