root/trunk/console/configure.ac

Revision 6517, 1.7 kB (checked in by flynd, 3 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/console.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-Console, 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
23LICQ_CXX_FLAGS
24LICQ_CXX_WEXTRA
25AC_PROG_CXXCPP
26AC_ISC_POSIX
27AC_PROG_MAKE_SET
28AC_PROG_INSTALL
29AC_PATH_PROG(PROG_STRIP,strip,:)
30AC_PATH_PROG(PROG_SIZE,size,:)
31
32dnl libtool checks
33AC_LIBTOOL_DLOPEN
34AC_DISABLE_STATIC
35m4_defun([_LT_AC_LANG_F77_CONFIG], [:])
36AM_PROG_LIBTOOL
37AC_LIBTOOL_CXX
38LIBTOOL="$LIBTOOL --silent"
39
40dnl Checks for header files.
41AC_HEADER_STDC
42AC_CHECK_HEADERS(errno.h dirent.h locale.h malloc.h pwd.h sys/time.h)
43AC_HEADER_TIME
44LICQ_SYS_ERRLIST
45LICQ_CHECK_LICQ
46AX_BOOST_BASE([1.31.1])
47
48dnl Checks for library functions.
49AC_CHECK_FUNCS(inet_addr inet_aton strerror)
50
51dnl Switch to C++ mode and check for needed C++ headers
52AC_LANG_SAVE
53AC_LANG_CPLUSPLUS
54
55AC_CHECK_HEADER(vector,,
56  AC_MSG_ERROR(You need to have the libstdc++ headers installed))
57
58AC_LANG_RESTORE
59
60dnl check for ncurses
61AC_CHECK_LIB(ncurses, initscr,,
62  AC_MSG_ERROR([
63
64I can't find the ncurses library. This is needed if you want
65to compile this plugin. Sorry.
66]))
67
68dnl check for cdk
69AC_CHECK_LIB(cdk, initCDKScreen,,
70  AC_MSG_ERROR([
71
72I can't find the cdk library. This is needed if you want
73to compile this plugin. Sorry. Try to get it from here:
74http://freshmeat.net/projects/libcdk/
75]))
76
77AC_OUTPUT(
78  src/Makefile \
79  Makefile
80)
Note: See TracBrowser for help on using the browser.