Commit Graph

20 Commits

Author SHA1 Message Date
Fabian Freyer
dcbf3fb4d5 autotools: check for ssl.h if pkg-config failed
Some distros provides libssl without openssl.pc.
2014-09-30 16:02:43 +03:00
Fabian Freyer
e2acd98612 autotools: added AC_CONFIG_MACRO_DIR 2014-09-30 16:00:36 +03:00
Dmitry Podgorny
e768604533 autotools: fixed libstrophe's version
Repository contains tag 0.8.6, but version in configure.ac is still
0.8.5. So change it to the future release.
2014-09-09 20:54:01 +03:00
Dmitry Podgorny
d693cc6d15 autotools: check for expat.h if pkg-config failed
Some distros provides libexpat without expat.pc. So PKG_CHECK_MODULES
fails even if libexpat is installed. To fix this AC_CHECK_HEADER added
back.
2014-08-08 19:49:46 +03:00
Fabian Freyer
46f371b311 autotools: cleaned up configure.ac and Makefile.am 2014-08-08 19:42:33 +03:00
Fabian Freyer
97c6e6d8d4 autotools: removed libresov check for freebsd. 2014-08-08 19:40:01 +03:00
Dariusz Dwornikowski
fca2a9e170 Proper autoconf 2014-05-06 20:13:01 +02:00
Dariusz Dwornikowski
8a87a88904 Generating .so library 2014-04-25 19:23:04 +02:00
Thomas Petazzoni
25d37622b8 configure.ac: fix misdetection of libxml2
A small typo in the detection of libxml2 leads to a successful
pkg-config discovery of libxml2 to be ignored. As a consequence,
configure.ac falls back to detecting the host libxml2, which does not
work in cross-compilation situation. This commit fixes this small
typo.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-04-21 22:00:42 +02:00
Jack Moffitt
6a5e1ac969 Added support for detecting system libxml2. 2013-03-29 09:47:14 -06:00
Markus Kohlhase
f502fd1fe4 added missing newline character to fix configuring errors 2012-02-26 12:49:40 +01:00
Jack Moffitt
a8c1d25f5c Correctly check for -lresolv need by using resolv.h.
Doing this with AC_SEARCH_LIBS doesn't work because the res_query is a #define.
2012-02-25 14:24:49 -07:00
Jack Moffitt
713cfa245a Another try at OpenBSD fixes.
nameser_compat.h is required on Darwin, but doesn't exist on
OpenBSD. Also, OpenBSD doesn't support the ns_c_in or ns_t_srv enums,
so the C_IN and T_SRV macros are required.
2012-02-10 22:10:32 -07:00
Jack Moffitt
aadc58711b Build fixes for OpenBSD.
Fixes #14. Issue discovered and fixes based on patch by Pierre-Emmanuel André.
2012-02-08 22:00:06 -07:00
Jack Moffitt
311e09a99a Update version number to 0.8-snapshot. 2012-02-07 23:32:49 -07:00
Jack Moffitt
9b50b56dbb Fix docs and build system. 2012-02-07 22:46:38 -07:00
Jack Moffitt
a02ce0151d A few build fixes. Found and suggested by David C. 2010-06-09 10:30:20 -06:00
Matt Ingenthron
43facaff45 Added check for openssl headers to fail more gracefully on Ubuntu 8.0.4 LTS 2009-06-15 14:37:21 -07:00
Matt Ingenthron
a18cecd002 Added AC_SEARCH_LIBS for compilation on OpenSolaris 2009-06-15 14:37:21 -07:00
Jack Moffitt
3fd7515dcf Abstracted XML parser library and switched to autotools building.
expat is still the default parser, but libxml2 can also be used
via an option to the configure script.  New parsers can easily be
added by implementing a parser_foo.c that uses the interface defined
in parser.h.
2009-04-14 13:47:20 -06:00