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])
13 ##AC_PREFIX_DEFAULT(`pwd`/install)
15 AM_INIT_AUTOMAKE([1.9])
17 # Checks for programs.
26 # Default language to use for tests (some tests may switch to C++)
29 if test "$enable_shared" = "yes"; then
30 AC_DEFINE([HAVE_DL_SUPPORT],[1],
31 [Define to 1 if you have shared module support])
34 # Checks for libraries.
35 AC_CHECK_LIB(dl,dlopen)
38 AC_CHECK_FUNCS([localtime_r])
41 YAZPP_INIT([threads],[1.1.0])
42 if test -z "$YAZPPLIB"; then
43 AC_MSG_ERROR([YAZ++ development libraries missing])
46 CPPFLAGS="$YAZPPINC $CPPFLAGS"
48 # check for Boost C++ development libs and headers
50 ID_BOOST([thread test], [1.33])
52 # Checks for header files.
56 AC_CHECK_HEADERS(sys/select.h sys/socket.h)
58 # Checks for typedefs, structures, and compiler characteristics.
60 ##AC_CHECK_SIZEOF(int)
61 ##AC_CHECK_SIZEOF(long int)
63 # Checks for library functions.
87 "------------------------------------------------------------------------
91 Source code location: ${srcdir}
92 CPP Preprocessor: ${CPP}
93 CPP Preprocessor flags: ${CPPFLAGS}
95 CXX Compiler flags: ${CXXFLAGS}
96 Linker flags: ${LDFLAGS}
98 Host System Type: ${host}
99 Install path: ${prefix}
100 Automake: ${AUTOMAKE}
103 Boost Version: ${BOOST_VERSION}
104 Boost Include: ${BOOST_CPPFLAGS}
105 Boost linker flags: ${BOOST_LDFLAGS}
106 Boost Libs: ${BOOST_DATE_TIME_LIB} ${BOOST_THREAD_LIB}
107 YAZPP Version: ${YAZPPVERSION}
108 YAZPP Include: ${YAZPPINC}
109 YAZPP La Lib: ${YAZPPLALIB}
110 YAZPP Lib: ${YAZPPLIB}
111 Bugreport: ${PACKAGE_BUGREPORT}
113 ------------------------------------------------------------------------"
115 dnl mode:shell-script
116 dnl sh-indentation: 2
117 dnl sh-basic-offset: 4