Commit Graph

67 Commits

Author SHA1 Message Date
Carsten Larsen 2811e30d49 Release 1.12.0 2017-04-12 01:21:06 +02:00
Gregor Jasny 8d023b7d96 dist: Distribute README.md
Closes #42
2016-02-13 10:35:31 +01:00
Daniel Stenberg 4ef6817c76 Makefile.am: distribute the test dir too 2016-02-11 15:09:13 +01:00
David Drysdale 1b6905cc7f build: Add a code coverage option
Configure with:
  ./configure --enable-code-coverage
Show coverage output with:
  make code-coverage-capture

Built on m4/ax_code_coverage.m4 from the GNU autoconf archive
to provide the macros to check for presence of gcov + lcov;
upstream macro modified to:
 - Remove use of $(AM_DEFAULT_VERBOSITY) , as earlier versions of
   autoconf (such as the one used by default on Travis) do not have this.
 - Rather than automatically defining CODE_COVERAGE_RULES to be a set
   of makefile rules that use ifeq/endif (which is GNU make-specific),
   instead only define CODE_COVERAGE_RULES if coverages is turned on,
   and in that case don't use conditionals in the makefile.
2016-02-02 10:13:46 +00:00
Daniel Stenberg 3f0ec4733e Makefile.am: increment -version-info for 1.10.0 release 2013-04-23 16:44:56 +02:00
Yang Tse 127d4cb357 ares.h: stricter CARES_EXTERN linkage decorations logic
No API change involved.
2013-03-10 21:28:35 +01:00
Yang Tse a2881fee6b Makefile.am: empty AM_LDFLAGS definition for automake 1.7 compatibility 2013-03-09 13:58:35 +01:00
Yang Tse 715b499c79 configure: use XC_LIBTOOL for portability across libtool versions 2013-03-08 13:22:33 +01:00
Yang Tse 320c4eb659 Makefile.am: use AM_CPPFLAGS instead of INCLUDES 2013-02-19 14:14:09 +01:00
Guenter Knauf 80de4a7295 Added INSTALL so it gets into tarballs. 2012-04-19 10:05:03 +02:00
Yang Tse fc2c91c206 build adjustments: CARES_SYMBOL_HIDING no longer defined in config files
configure script now provides conditional definitions for Makefile.am
that result in CARES_SYMBOL_HIDING being defined by resulting makefiles
when appropriate.
2012-04-17 13:29:59 +02:00
Yang Tse 41191cdd54 configure: Windows cross-compilation fixes
CARES_BUILDING_LIBRARY and CARES_STATICLIB no longer defined in ares_config.h,
configure will generate appropriate conditionals so that mentioned symbols
get defined and used in Makefile derived from Makefile.am at compilation time.
2012-04-17 13:29:58 +02:00
Daniel Stenberg d60f07d094 man pages: docs for the c-ares utility programs 2011-05-09 11:47:43 +02:00
Yang Tse 09331032a0 build: config.dos renamed to config-dos.h 2010-12-03 04:35:05 +01:00
Guenter Knauf a00e234001 Added Watcom makefile based on libcurl's Makefile.Watcom. 2010-08-03 01:21:56 +02:00
Ben Greear 45557a138e build: Enable compiling with -Werror.
This helps find compile warnings because they simply break
the build.

To use:
./configure --enable-warnings --enable-werror

Signed-off-by: Ben Greear <greearb@candelatech.com>
2010-07-29 23:43:02 -07:00
Daniel Stenberg 9cb25ea5f7 tarball: add $(CSOURCES) $(HHEADERS) to EXTRA_DIST
It's not clear to me why we need this, but we apparently may
otherwise not get all files bundled in the dist tarball.
2010-06-10 23:22:59 +02:00
Yang Tse 004e6510ae Added README.msvc 2009-11-23 11:07:16 +00:00
Yang Tse c55589355f Updated MSVC makefile that allows building dynamic and static
c-ares libraries in debug and release flavours.

Additionally each of the three sample programs is built against
each of the four possible c-ares libraries, generating all this
a total number of 12 executables and 4 libraries.
2009-11-09 13:24:11 +00:00
Yang Tse 54fafaa088 Adjust c-ares include paths for memory tracking enabled (--enable-curldebug) builds 2009-11-05 17:44:29 +00:00
Yang Tse e057b523af source files used by sample programs 2009-11-04 14:24:47 +00:00
Yang Tse a82a8fbf82 Renamed c-ares setup.h to ares_setup.h 2009-11-02 11:55:53 +00:00
Yang Tse bfca740909 Adjust include paths to take in account that currently:
c-ares with --enable-curldebug uses memdebug.h from libcurl's lib subdirectory.

memdebug.h needs access to libcurl's setup.h from libcurl's lib subdirectory
and also needs access to libcurl's generated curl_config.h
2009-11-02 01:58:25 +00:00
Yang Tse de48a86cf6 Add c-ares DLL resource file to distribution archive 2009-10-29 19:13:20 +00:00
Yang Tse 991dd45884 Updated MSVC 6.0 workspace and project files that allows building
dynamic and static c-ares libraries in debug and release flavours.

Additionally each of the three sample programs is built against
each of the four possible c-ares libraries, generating all this
a total number of 12 executables and 4 libraries.
2009-10-29 17:52:56 +00:00
Yang Tse 9cac6a4625 Initial step towards the ability to reduce c-ares exported symbols
based on the 'visibility' attribute for GNUC and __global for Sun
compilers, taking also in account __declspec function decoration
for Win32 and Symbian DLL's.

Introducing configure options --enable-hidden-symbols and
--disable-hidden-symbols following libcurl's naming.
2009-10-28 19:45:26 +00:00
Gunter Knauf e391db0ef9 renamed generated config.h to ares_config.h in order to avoid clashes when libcurl is used with other projects which also have a config.h. 2009-07-14 13:38:50 +00:00
Yang Tse f364b4aa4c Remove buildconf.bat from release and daily snapshot archives.
buildconf.bat is only for CVS tree builds.
2009-06-08 14:31:35 +00:00
Yang Tse 5136021525 just comment it out 2009-06-08 02:41:15 +00:00
Yang Tse e607ed5198 For debugging purposes...
Disable the '-export-symbols-regex' to discard this as the origin
of link failures related with shared libraries and non-GNU linkers.
2009-06-08 02:03:13 +00:00
Yang Tse e46626580f c-ares Makefile.am back to using $(top_builddir) for *_LDADD 2009-06-06 13:20:10 +00:00
Yang Tse fdbe9b71d6 Use relative path to built c-ares tree libtool library 2009-06-02 18:29:09 +00:00
Yang Tse 84aa2f8a5d c-ares's --enable-curldebug configure option decoupled from c-ares's --enable-debug 2009-05-26 14:50:45 +00:00
Yang Tse acd2aeb388 Prevent copying 'sourced' manpages for build targets that don't use them. 2009-05-26 13:43:25 +00:00
Yang Tse ba2217050b Allow generation of .html and .pdf versions of c-ares man pages. 2009-05-21 17:40:19 +00:00
Daniel Stenberg ee97c69362 - Gregor Jasny made c-ares link with libtool 's -export-symbols-regex option to
only expose functions starting with ares_.
2009-05-11 13:53:26 +00:00
Yang Tse 128f52ec60 buildconf.bat for CVS-tree c-ares 2009-04-30 10:43:27 +00:00
Yang Tse 5fc305a0ba Initial step towards a configure time ares_socklen_t definition 2009-04-28 16:47:33 +00:00
Daniel Stenberg 3c2da5eae1 Added a TODO file to list things we want changed, added or fixed. 2008-11-01 23:39:07 +00:00
Yang Tse bcca6b4a47 Initial support of curlbuild.h and curlrules.h which allows
to have a curl_off_t data type no longer gated to off_t.
2008-08-07 00:29:08 +00:00
Yang Tse f82c7080a8 Reinstate the 'aclocal -I m4' in buildconf and 'ACLOCAL_AMFLAGS = -I m4' way of
including our local m4/reentrant.m4 file. This even takes care of including the
file in the distribution tarball.
2008-07-30 03:10:03 +00:00
Yang Tse d20656e947 Tests done using 'aclocal -I m4' in buildconf and 'ACLOCAL_AMFLAGS = -I m4
in top Makefile.am triggered a problem that prevented aclocal from running
successfully on SunOS 5.10 with GNU m4 1.4.5 and GNU Autoconf 2.61

A tarball which reproduces mentioned problem is the one dated July-28-2008
http://cool.haxx.se/curl-daily/curl-7.19.0-20080728.tar.gz

We actually don't need all the bells and whistles that the above mechanism
provides. We only need to include our m4/reentrant.m4 file in acinclude.m4
so here we go with this simpler mechanism.
2008-07-29 02:26:21 +00:00
Yang Tse bb30f43e48 move ACLOCAL_AMFLAGS after AUTOMAKE_OPTIONS 2008-07-27 16:37:02 +00:00
Yang Tse 28d3b4af6a move reentrant.m4 to the m4 subdirectory to avoid infinite loop inclusion problem 2008-07-25 13:21:14 +00:00
Yang Tse df6373a9e6 Another step towards detecting if _REENTRANT is already defined or actually
needed, and being able to define it if appropriate for further configure tests
as well as for the generated config file.

Introduced reentrant.m4 intended for our reentrant related autotools/m4 macros.
2008-07-24 15:20:35 +00:00
Daniel Stenberg 9fae0a48b1 list all local sources the (demo) tools need, add a few missing scripts to
the dist tarball and remove a two duplicate file names from EXTRA_DIST
(most of it pointed out by Yang Tse)
2008-05-23 21:52:56 +00:00
Yang Tse 599918bf51 remove compilation time generated files 2008-05-15 09:18:05 +00:00
Yang Tse b152f263c1 add MSVC6 project for acountry sample program 2008-05-13 15:37:49 +00:00
Gunter Knauf 5a6070bb9d added some files which were missing in release tarballs. 2008-02-14 21:24:59 +00:00
Daniel Stenberg ad10862b8d build acountry too 2007-12-11 19:34:31 +00:00