root/branches/protocol_plugin_1_3_0/rms/configure.in

Revision 3016, 1.3 kB (checked in by emostar, 6 years ago)

libstdc++-v3 fix

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1dnl Process this file with autoconf to produce a configure script.
2AC_INIT(src/rms.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-RMS, 0.30)
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")
14AC_DEFINE_UNQUOTED(INT_VERSION,$INT_VERSION)
15
16dnl Also substitute PACKAGE and VERSION in the AC_OUTPUT files
17AC_SUBST(PACKAGE)
18AC_SUBST(VERSION)
19
20dnl Checks for programs.
21AC_PROG_CC
22AC_PROG_CPP
23AC_PROG_CXX
24AC_PROG_CXXCPP
25LICQ_CXX_FLAGS
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
35AM_PROG_LIBTOOL
36AC_LIBTOOL_CXX
37
38dnl Checks for header files.
39AC_HEADER_STDC
40AC_CHECK_HEADERS(errno.h dirent.h getopt.h malloc.h pwd.h sys/time.h)
41AC_HEADER_TIME
42LICQ_SYS_ERRLIST
43LICQ_CHECK_LICQ
44
45dnl Checks for library functions.
46AC_CHECK_FUNCS(inet_addr inet_aton strerror)
47
48dnl Switch to C++ mode and check for needed C++ headers
49AC_LANG_SAVE
50AC_LANG_CPLUSPLUS
51
52AC_CHECK_HEADER(vector,,
53  AC_MSG_ERROR(You need to have the libstdc++ headers installed))
54
55AC_LANG_RESTORE
56
57AC_OUTPUT(
58  src/Makefile
59    Makefile)
Note: See TracBrowser for help on using the browser.