root/trunk/auto-reply/configure.ac

Revision 6517, 1.3 kB (checked in by flynd, 2 months ago)

Bumped version to 1.3.6 for upcoming release. All plugins updated to have same version as daemon.

  • Property svn:eol-style set to native
Line 
1dnl Process this file with autoconf to produce a configure script.
2AC_INIT(src/autoreply.h)
3AC_CONFIG_AUX_DIR(admin)
4AC_CANONICAL_SYSTEM
5AC_ARG_PROGRAM
6
7dnl All versioning is done via the following line
8AM_INIT_AUTOMAKE(Licq-AutoReply, 1.3.6)
9AM_CONFIG_HEADER(config.h)
10
11dnl Chuck #defines for PACKAGE and VERSION into config.h
12AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
13AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
14
15dnl Also substitute PACKAGE and VERSION in the AC_OUTPUT files
16AC_SUBST(PACKAGE)
17AC_SUBST(VERSION)
18
19dnl Checks for programs.
20AC_PROG_CC
21AC_PROG_CPP
22AC_PROG_CXX
23AC_PROG_CXXCPP
24LICQ_CXX_FLAGS
25LICQ_CXX_WEXTRA
26AC_ISC_POSIX
27AC_PROG_MAKE_SET
28AC_PROG_INSTALL
29
30dnl libtool checks
31AC_LIBTOOL_DLOPEN
32AC_DISABLE_STATIC
33m4_defun([_LT_AC_LANG_F77_CONFIG], [:])
34AM_PROG_LIBTOOL
35AC_LIBTOOL_CXX
36LIBTOOL="$LIBTOOL --silent"
37
38dnl Checks for header files.
39AC_HEADER_STDC
40AC_CHECK_HEADERS(errno.h pwd.h sys/time.h paths.h)
41AC_HEADER_TIME
42LICQ_SYS_ERRLIST
43LICQ_CHECK_LICQ
44AX_BOOST_BASE([1.31.1])
45
46dnl Checks for library functions.
47AC_CHECK_FUNCS(inet_addr inet_aton strerror)
48
49dnl Switch to C++ mode and check for needed C++ headers
50AC_LANG_SAVE
51AC_LANG_CPLUSPLUS
52
53AC_CHECK_HEADER(vector,,
54  AC_MSG_ERROR(You need to have the libstdc++ headers installed))
55
56AC_LANG_RESTORE
57
58AC_OUTPUT(
59  src/Makefile
60    Makefile)
Note: See TracBrowser for help on using the browser.