Dmitry Podgorny
b2e6458736
autotools: check for snprintf and vsnprintf
...
src/snprinf.[ch] rely on HAVE_SNPRINTF macro. The check is missed in
configure script and libstrophe always use internal implementation
of snprinf() which may be inefficient. Add check to configure.ac.
2020-01-05 01:14:22 +02:00
Dmitry Podgorny
35f37e8c23
autotools: link against libm with manually detected libxml2
...
Fixes build on QNX.
2019-11-30 20:36:34 +02:00
François Revol
962bf4de5e
Haiku: skip -Wextra -Wno-unused-parameter for GCC 2.95
...
This is needed to compile for the primary arch.
2019-11-17 15:34:27 +01:00
François Revol
884dace400
Haiku: link with libnetwork
2019-11-17 14:29:24 +01:00
Dmitry Podgorny
a13847d994
resolver: add c-ares support
...
This patch based on the patch from @gbour (see #7 ). With
--enable-cares old implementation will be replaced with c-ares API.
2019-10-14 06:51:08 +03:00
Dmitry Podgorny
4f915d7515
Release libstrophe-0.9.3
2019-10-10 21:47:08 +03:00
Dmitry Podgorny
a4b05cf156
Release libstrophe-0.9.2
2018-02-23 14:19:15 +02:00
Dmitry Podgorny
f0706f56c4
tests: remove dependency on check package
...
Only check_parser depends on the check. Convert it. All tests will be
rewritten at once when new testsuite is implemented.
2016-09-15 12:46:11 +03:00
James Booth
4ef2740c36
Update version to 0.9.1
2016-09-14 19:53:25 +01:00
Dmitry Podgorny
5e0330f0ad
libstrophe 0.9.0
...
See ChangeLog for significant changes or follow the link to see all the
changes:
https://github.com/strophe/libstrophe/compare/0.8.8...strophe:0.9.0
2016-09-14 18:55:48 +03:00
Fredrik Fornwall
dd7aeff5d2
Avoid trying to link against libresolv for Android
...
Android does not have a separate libresolv library.
2016-09-06 01:24:26 +02:00
Dmitry Podgorny
063f4deb22
Refactor autotools scripts
...
* Add --disable-tls
* Check for libxml2 if expat is not found
* Single coding style
2016-04-28 22:37:27 +00:00
Dmitry Podgorny
b7e308d057
Implemented resolver to replace sock_srv_lookup()
2016-02-20 00:15:08 +02:00
Dmitry Podgorny
a7c18ba6c7
autotools: choose correct library for res_query()
...
See #72 for further information.
2016-02-05 23:37:55 +00:00
Rafael Sadowski
a413c68e52
fix: generated syntax errors on BSD's SH(1)
2016-02-05 21:43:34 +00:00
Dennis Schridde
3b55c20879
Fix --without-libxml2
...
The arguments of AC_ARG_WITH are (package, help-string, [action-if-given], [action-if-not-given]).
action-if-given takes effect when the flag is given in **either** form (--with or --without).
The proper code for action-if-given would thus be with_libxml2=$withval, which is already the default.
Thus leaving this argument empty is the proper course of action.
cf. https://autotools.io/autoconf/arguments.html
2015-10-09 02:20:01 +03:00
Dmitry Podgorny
c73ddf065b
autotools: set development version to 0.8.9
2015-10-07 22:27:26 +03:00
James Booth
b1cbcffdc7
Bumped version, added to Changelog
2015-03-26 20:52:48 +00:00
Dmitry Podgorny
057f9068c6
autotools: removed duplication in configure.ac
2014-10-21 10:21:55 +03:00
Fabian Freyer
3231214344
Added --with-pkgconfigdir
2014-10-08 18:13:32 +02:00
Fabian Freyer
55efc601cb
Refactored configure.ac, added pkg-config support
2014-10-08 18:13:31 +02:00
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