Mercurial > ~mikael > mcabber > hg
comparison mcabber/configure.ac @ 73:1fc66b6c08ef
[/trunk] Changeset 87 by mikael
* Check for glib and update Makefiles to use it.
author | mikael |
---|---|
date | Sat, 16 Apr 2005 11:59:26 +0000 |
parents | c5a5707f495d |
children | e44dd43e7a69 |
comparison
equal
deleted
inserted
replaced
72:9b7f0d313e33 | 73:1fc66b6c08ef |
---|---|
1 # -*- Autoconf -*- | 1 # -*- Autoconf -*- |
2 # Process this file with autoconf to produce a configure script. | 2 # Process this file with autoconf to produce a configure script. |
3 | 3 |
4 AC_PREREQ(2.59) | 4 AC_PREREQ(2.59) |
5 AC_INIT(mcabber, 0.6.0-dev, bmikael@lists.lilotux.net) | 5 AC_INIT([mcabber],[0.6.0-dev],[bmikael@lists.lilotux.net]) |
6 AM_INIT_AUTOMAKE | 6 AM_INIT_AUTOMAKE |
7 AC_CONFIG_SRCDIR([src]) | 7 AC_CONFIG_SRCDIR([src]) |
8 AC_CONFIG_HEADER(config.h) | 8 AC_CONFIG_HEADER(config.h) |
9 | 9 |
10 AC_PROG_RANLIB | 10 AC_PROG_RANLIB |
40 AC_FUNC_SELECT_ARGTYPES | 40 AC_FUNC_SELECT_ARGTYPES |
41 AC_TYPE_SIGNAL | 41 AC_TYPE_SIGNAL |
42 AC_FUNC_STRFTIME | 42 AC_FUNC_STRFTIME |
43 AC_FUNC_VPRINTF | 43 AC_FUNC_VPRINTF |
44 AC_CHECK_FUNCS([alarm bzero gethostbyname gethostname inet_ntoa isascii memmove memset modf select setlocale socket strcasecmp strchr strdup strncasecmp strrchr strstr]) | 44 AC_CHECK_FUNCS([alarm bzero gethostbyname gethostname inet_ntoa isascii memmove memset modf select setlocale socket strcasecmp strchr strdup strncasecmp strrchr strstr]) |
45 | |
46 # Check for glib | |
47 AM_PATH_GLIB_2_0(2.0.0, , AC_MSG_ERROR([glib is required]),[g_list_append]) | |
45 | 48 |
46 AC_ARG_WITH(ssl, [ --with-ssl enable SSL secured connections using either OpenSSL | 49 AC_ARG_WITH(ssl, [ --with-ssl enable SSL secured connections using either OpenSSL |
47 or GnuTLS], | 50 or GnuTLS], |
48 [with_ssl=$withval]) | 51 [with_ssl=$withval]) |
49 | 52 |