Permalink
Browse files

- Fixed a few variable return types for some system calls. Made confi…

…gure

  check for ssize_t to make it possible to use that when receiving the send()
  error code. This is necessary to prevent compiler warnings on some systems.

- Made configure create config.h, and all source files now include setup.h that
  might include the proper config.h (or a handicrafted alternative).

- Switched to 'ares_socket_t' type for sockets in ares, since Windows don't
  use 'int' for that.

- automake-ified and libool-ified c-ares. Now it builds libcares as a shared
  lib on most platforms if wanted. (This bloated the size of the release
  archive with another 200K!)

- Makefile.am now uses Makefile.inc for the c sources, h headers and man
  pages, to make it easier for other makefiles to use the exact same set of
  files.

- Adjusted 'maketgz' to use the new automake magic when building distribution
  archives.
  • Loading branch information...
1 parent 55ee00c commit d5f3636a52d927ee44fa1686ca284cd32b62a0df @bagder bagder committed Jul 22, 2004
Showing with 1,022 additions and 3,083 deletions.
  1. +25 −0 CHANGES
  2. +57 −0 Makefile.am
  3. +781 −77 Makefile.in
  4. +15 −0 Makefile.inc
  5. +3 −0 NEWS
  6. +1 −0 adig.c
  7. +1 −0 ahost.c
  8. +6 −4 ares__close_sockets.c
  9. +1 −0 ares__get_hostent.c
  10. +1 −0 ares__read_line.c
  11. +10 −11 ares_cancel.c
  12. +1 −0 ares_destroy.c
  13. +1 −0 ares_expand_name.c
  14. +1 −0 ares_expand_string.c
  15. +3 −2 ares_fds.c
  16. +1 −0 ares_free_hostent.c
  17. +1 −0 ares_free_string.c
  18. +1 −0 ares_gethostbyaddr.c
  19. +1 −0 ares_gethostbyname.c
  20. +3 −2 ares_init.c
  21. +1 −0 ares_mkquery.c
  22. +1 −0 ares_parse_a_reply.c
  23. +1 −0 ares_parse_ptr_reply.c
  24. +2 −2 ares_private.h
  25. +18 −12 ares_process.c
  26. +1 −0 ares_query.c
  27. +1 −0 ares_search.c
  28. +1 −0 ares_send.c
  29. +1 −0 ares_strerror.c
  30. +1 −0 ares_timeout.c
  31. +1 −0 ares_version.c
  32. +3 −0 buildconf
  33. +0 −1,388 config.guess
  34. +0 −1,489 config.sub
  35. +10 −3 configure.ac
  36. +15 −78 maketgz
  37. +44 −0 setup.h
  38. +7 −15 windows_port.c
View
25 CHANGES
@@ -1,5 +1,30 @@
Changelog for the c-ares project
+* July 20
+- Fixed a few variable return types for some system calls. Made configure
+ check for ssize_t to make it possible to use that when receiving the send()
+ error code. This is necessary to prevent compiler warnings on some systems.
+
+- Made configure create config.h, and all source files now include setup.h that
+ might include the proper config.h (or a handicrafted alternative).
+
+- Switched to 'ares_socket_t' type for sockets in ares, since Windows don't
+ use 'int' for that.
+
+- automake-ified and libool-ified c-ares. Now it builds libcares as a shared
+ lib on most platforms if wanted. (This bloated the size of the release
+ archive with another 200K!)
+
+- Makefile.am now uses Makefile.inc for the c sources, h headers and man
+ pages, to make it easier for other makefiles to use the exact same set of
+ files.
+
+- Adjusted 'maketgz' to use the new automake magic when building distribution
+ archives.
+
+- Anyone desires HTML and/or PDF versions of the man pages in the release
+ archives?
+
* July 3
- G�nter Knauf made c-ares build and run on Novell Netware.
View
@@ -0,0 +1,57 @@
+AUTOMAKE_OPTIONS = foreign
+
+lib_LTLIBRARIES = libcares.la
+
+man_MANS = $(MANPAGES)
+
+MSVCFILES = vc/adig/adig.dep vc/adig/adig.dsp vc/adig/adig.mak \
+ vc/adig/adig.plg vc/vc.dsw vc/ahost/ahost.dep vc/ahost/ahost.dsp \
+ vc/ahost/ahost.mak vc/ahost/ahost.plg vc/areslib/areslib.dep \
+ vc/areslib/areslib.dsp vc/areslib/areslib.mak vc/areslib/areslib.plg
+
+# adig and ahost are just sample programs and thus not mentioned with the
+# regular sources and headers
+EXTRA_DIST = CHANGES README.cares Makefile.inc adig.c ahost.c $(man_MANS) \
+ $(MSVCFILES)
+
+
+VER=-version-info 0:0:0
+# This flag accepts an argument of the form current[:revision[:age]]. So,
+# passing -version-info 3:12:1 sets current to 3, revision to 12, and age to
+# 1.
+#
+# If either revision or age are omitted, they default to 0. Also note that age
+# must be less than or equal to the current interface number.
+#
+# Here are a set of rules to help you update your library version information:
+#
+# 1.Start with version information of 0:0:0 for each libtool library.
+#
+# 2.Update the version information only immediately before a public release of
+# your software. More frequent updates are unnecessary, and only guarantee
+# that the current interface number gets larger faster.
+#
+# 3.If the library source code has changed at all since the last update, then
+# increment revision (c:r+1:a)
+#
+# 4.If any interfaces have been added, removed, or changed since the last
+# update, increment current, and set revision to 0. (c+1:r=0:a)
+#
+# 5.If any interfaces have been added since the last public release, then
+# increment age. (c:r:a+1)
+#
+# 6.If any interfaces have been removed since the last public release, then
+# set age to 0. (c:r:a=0)
+#
+
+libcares_la_LDFLAGS = $(VER)
+
+# Makefile.inc provides the CSOURCES and HHEADERS defines
+include Makefile.inc
+
+libcares_la_SOURCES = $(CSOURCES) $(HHEADERS)
+
+# where to install the c-ares headers
+libcares_ladir = $(includedir)
+# what headers to install on 'make install':
+libcares_la_HEADERS = ares.h ares_version.h
Oops, something went wrong.

0 comments on commit d5f3636

Please sign in to comment.