Yang Tse
e842c9ca3b
fix: socklen_t definition comment
17 years ago
Yang Tse
d3bad80edd
update several macros using AC_TRY_LINK with AC_LINK_IFELSE
17 years ago
Yang Tse
6783b29432
fix underquoting of AC_LANG_PROGRAM arguments
17 years ago
Yang Tse
0129767bf9
if'def out private function ares__tvdiff(), it is not in use yet.
17 years ago
Yang Tse
c31375137d
update several macros using AC_TRY_LINK with AC_LINK_IFELSE
17 years ago
Yang Tse
822c0e1498
fix socklen_t equivalent detection when cross compiling Windows target
17 years ago
Yang Tse
f209547d0f
if WINSOCK2 API is used link with 'ws2_32', else
...
if WINSOCK API is used under WinCE link with 'winsock', else
if WINSOCK API is used link with 'wsock32'.
17 years ago
Yang Tse
0458805686
on winsock systems linking is done using library 'ws2_32' when
...
winsock2.h is available, and library 'winsock' is used when only
winsock.h is available.
17 years ago
Yang Tse
9fe8db39d1
minor change for wince-cegcc and wince-mingw32ce support
17 years ago
Yang Tse
7cb1c3a215
millisecond resolution support followup
17 years ago
Gisle Vanem
6bf4d4e843
Replaced "-DHAVE_FIONBIO" with "-DHAVE_IOCTLSOCKET".
...
Added "-DHAVE_GETTIMEOFDAY". Trimmed lines.
17 years ago
Yang Tse
e6b86905dc
sync with reality
17 years ago
Yang Tse
599918bf51
remove compilation time generated files
17 years ago
Yang Tse
a43aec1b56
use same time source for timeout initialization and processing
17 years ago
Yang Tse
6882b4020e
Improve toolchain detection for WinCE cross compilation:
...
When cross compiling WinCE with the arm-wince-cegcc-gcc C compiler
symbol __CEGCC__ is defined and the unix-like compatibility layer
is used. For our purposes this is not a native Windows build.
When cross compiling WinCE with the arm-wince-mingw32ce-gcc C compiler
symbol __MINGW32CE__ is defined and the unix-like compatibility layer
is not used. For our purposes this _is_ a native Windows build.
17 years ago
Yang Tse
7b24a70d51
skip checks for Windows specific header files
...
when build target is not a native Windows one
17 years ago
Yang Tse
e7f09172f7
WinCE cross compilation adjustments:
...
HAVE_WINSOCK2_H shall not be defined.
HAVE_WS2TCPIP_H shall not be defined.
17 years ago
Daniel Stenberg
46dbd9461a
- Introducing millisecond resolution support for the timeout option. See
...
ares_init_options()'s ARES_OPT_TIMEOUTMS.
17 years ago
Yang Tse
76d91c21ad
also ignore this
17 years ago
Yang Tse
222203147d
also ignore this
17 years ago
Yang Tse
6756f1e34e
ignore this compilation time generated files
17 years ago
Yang Tse
db0975d279
don't keep in CVS this compilation time generated file
17 years ago
Yang Tse
b152f263c1
add MSVC6 project for acountry sample program
17 years ago
Yang Tse
22a99388ee
update MSVC6 projects to use the multithreaded DLL runtime library
17 years ago
Yang Tse
df17ab0d66
add MSVC6 project for acountry sample program
17 years ago
Yang Tse
d57416b7f5
skip libtool C++ preprocessor compiler and linker checks
17 years ago
Yang Tse
e2ba9a3a57
ignore libcares.pc
17 years ago
Yang Tse
e8603c5bee
configure script will now define HAVE_CLOCK_GETTIME_MONOTONIC symbol only
...
when function clock_gettime() is available and the monotonic timer is
also available. Otherwise, in some cases, librt or libposix4 could be used
for linking even when finally not using the clock_gettime() function due
to lack of the monotonic clock.
17 years ago
Yang Tse
8e4de09b99
fix syntax error: missing semicolon
17 years ago
Yang Tse
22e6a8199f
Add library checking for clock_gettime() support
17 years ago
Yang Tse
0848b4fdaa
Use monotonic time source if available.
17 years ago
Daniel Stenberg
fd5fdecf30
Removed AC_PROG_CC_STDC again. It enforces C99/gnu99 stdandard which is too
...
liberal for me. Also, autoconf 2.61 and earlier doesn't work with icc 10.1
for this macro. (2.62 confirmed to work though). See discusson on the mailing
list starting here:
http://daniel.haxx.se/projects/c-ares/mail/c-ares-archive-2008-05/0001.shtml
17 years ago
Daniel Stenberg
d4d2f9dc22
include strings.h (if available) for the strcasecmp() proto
17 years ago
Daniel Stenberg
7829b79768
check for strings.h in configure and use it for the strcasecmp() proto
17 years ago
Daniel Stenberg
7a68a3342b
adjusted to work with the updated configure.ac
17 years ago
Daniel Stenberg
0645b841d0
- Sebastian made c-ares able to return all PTR-records when doing reverse
...
lookups. It is not common practice to have multiple PTR-Records for a single
IP, but its perfectly legal and some sites have those.
17 years ago
Daniel Stenberg
3994a0be7f
- Doug Goldstein provided a configure patch: updates autoconf 2.13 usage to
...
autoconf 2.57 usage (which is the version you have specified as the minimum
version). It's a minor change but it does clean up some warnings with newer
autoconf (specifically 2.62).
17 years ago
Yang Tse
fc4704b4d8
Improved parsing of resolver configuration files
17 years ago
Yang Tse
f1b829e418
make previous compiler warning fix more portable
17 years ago
Yang Tse
4ba9cb3a46
fix compiler warning: indirection to slightly different base types
17 years ago
Yang Tse
c73ff0391f
fix compiler warning: local variable may be used without having been initialized
17 years ago
Yang Tse
51d5712977
fix compiler warning: unreferenced formal parameter
17 years ago
Yang Tse
43a712743a
fix compiler warning: assignment within conditional expression
17 years ago
Daniel Stenberg
2b31a21d91
- Alexey Simak fixed the VC dsp file by adding the missing source file
...
ares_expand_string.c
17 years ago
Daniel Stenberg
b1c3cc0cfe
Alexey Simak made adig support NAPTR records
17 years ago
Daniel Stenberg
cb4a169f75
Eino Tuominen improved the code when a file is used to seed the randomizer
17 years ago
Yang Tse
ad046ba239
Force AIX xlc to fail and not generate object code if the source code has
...
compiled with errors. This behaviour is needed for autoconf macros which
rely on the ability to compile with or without errors, and is safer than
xlc's default of failing only upon severe errors.
17 years ago
Gunter Knauf
fb6dbb28e0
added get_ver.awk since c-ares is a standalone project, and should therefore also compile when cURL is absent.
17 years ago
Gunter Knauf
f1a99137a2
a couple of small fixes to the makefile:
...
fixed comments; fixed INSTDIR define, simplified rules;
changed to use get_ver.awk in current dir rather than the curl one.
17 years ago
Gunter Knauf
e6dbd9b729
fixed linker def file for tools when compiled with gcc/nlmconv.
17 years ago