Mercurial > ~mikael > mcabber > hg
comparison mcabber/configure.ac @ 1880:668657be02ba 0.10.0-rc5
Honour libidn build flags
Also check for pkg-config program presence
author | Myhailo Danylenko <isbear@ukrpost.net> |
---|---|
date | Wed, 07 Apr 2010 00:41:08 +0300 |
parents | 1ae3a110d300 |
children | 41699679b121 |
comparison
equal
deleted
inserted
replaced
1879:eef4e18f8a39 | 1880:668657be02ba |
---|---|
29 DBGCFLAGS="-fgnu89-inline" | 29 DBGCFLAGS="-fgnu89-inline" |
30 fi | 30 fi |
31 fi | 31 fi |
32 | 32 |
33 AC_SYS_LARGEFILE | 33 AC_SYS_LARGEFILE |
34 | |
35 PKG_PROG_PKG_CONFIG | |
34 | 36 |
35 # Checks for header files. | 37 # Checks for header files. |
36 AC_HEADER_STDC | 38 AC_HEADER_STDC |
37 AC_CHECK_HEADERS([arpa/inet.h fcntl.h locale.h netdb.h netinet/in.h stddef.h \ | 39 AC_CHECK_HEADERS([arpa/inet.h fcntl.h locale.h netdb.h netinet/in.h stddef.h \ |
38 stdlib.h string.h strings.h sys/socket.h sys/time.h \ | 40 stdlib.h string.h strings.h sys/socket.h sys/time.h \ |
149 [g_list_append], ["$gmodule_module"])], | 151 [g_list_append], ["$gmodule_module"])], |
150 [g_regex_new "$gmodule_module"]) | 152 [g_regex_new "$gmodule_module"]) |
151 | 153 |
152 # Check for loudmouth | 154 # Check for loudmouth |
153 PKG_CHECK_MODULES(LOUDMOUTH, loudmouth-1.0 >= 1.4.2) | 155 PKG_CHECK_MODULES(LOUDMOUTH, loudmouth-1.0 >= 1.4.2) |
154 AC_SUBST(LOUDMOUTH_CFLAGS) | |
155 AC_SUBST(LOUDMOUTH_LIBS) | |
156 | 156 |
157 # Check for libidn | 157 # Check for libidn |
158 AC_ARG_WITH(libidn, AC_HELP_STRING([--with-libidn=[DIR]], | 158 AC_ARG_WITH(libidn, AC_HELP_STRING([--with-libidn=[DIR]], |
159 [Support IDN (needs GNU Libidn)]), | 159 [Support IDN (needs GNU Libidn)]), |
160 libidn=$withval, libidn=yes) | 160 libidn=$withval, libidn=yes) |