root/tags/forwarder-0_51/email/configure.in

Revision 785, 1.8 kB (checked in by graham, 9 years ago)

Added ICQ# to the forwarded messages so ICQ for windows sees it as a link

  • 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/forwarder.h)
3
4AC_CANONICAL_SYSTEM
5AC_ARG_PROGRAM
6
7dnl All versioning is done via the following line
8AM_INIT_AUTOMAKE(Licq-Forwarder, 0.51)
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
25AC_ISC_POSIX
26AC_PROG_MAKE_SET
27AC_PROG_INSTALL
28AC_PATH_PROG(PROG_STRIP,strip,:)
29AC_PATH_PROG(PROG_SIZE,size,:)
30
31dnl libtool checks
32AC_LIBTOOL_DLOPEN
33AC_DISABLE_STATIC
34AM_PROG_LIBTOOL
35
36dnl Checks for header files.
37AC_HEADER_STDC
38AC_CHECK_HEADERS(errno.h dirent.h getopt.h malloc.h pwd.h sys/time.h)
39AC_HEADER_TIME
40AC_SYS_ERRLIST
41AC_CHECK_LICQ
42
43if test "$have_licq_inc" = no; then
44  AC_MSG_ERROR([
45
46I can't find the Licq header files.
47You must unpack this archive into the plugins/ directory off of the
48main Licq source tree.  In other words, we should be in
49/some/dir/licq-0.xx/plugins/forwarder-0.xx right now.
50])
51fi
52
53
54dnl Checks for library functions.
55#AC_CHECK_LIB(xnet,inet_addr)
56#AC_CHECK_LIB(socket, socket)
57#AC_CHECK_LIB(nsl, gethostbyname)
58AC_CHECK_FUNCS(inet_addr inet_aton strerror)
59
60dnl Switch to C++ mode and check for needed C++ headers
61AC_LANG_SAVE
62AC_LANG_CPLUSPLUS
63
64AC_CHECK_LIB(stdc++, getc,,
65  AC_MSG_ERROR(You need to have libstdc++ installed))
66AC_CHECK_HEADER(vector.h,,
67  AC_MSG_ERROR(You need to have the libstdc++ headers installed))
68
69AC_LANG_RESTORE
70
71dnl Checks for typedefs, structures, and compiler characteristics.
72AC_C_CONST
73
74AC_OUTPUT(
75  src/Makefile
76    Makefile)
Note: See TracBrowser for help on using the browser.