Yang Tse
daa25aa705
The configure process will now halt when sed or grep are unavailable
17 years ago
Yang Tse
cd1f1d080c
fallback to gettimeofday when monotonic clock is unavailable at run-time
17 years ago
Yang Tse
3e04944084
IBM C/C++ compiler predefined macro check
17 years ago
Yang Tse
83b7feb146
set earlier in configure process IBM compilers optimization flags
17 years ago
Yang Tse
84e9cedf45
make check message wording more precise
17 years ago
Daniel Stenberg
705c749aa1
- As was pointed out to me by Andreas Schuldei, the MAXHOSTNAMELEN define is
...
not posix or anything and thus c-ares failed to build on hurd (and possibly
elsewhere). The define was also somewhat artificially used in the windows
port. Now, I instead rewrote the use of gethostbyname to enlarge the host
name buffer in case of need and totally avoid the use of the MAXHOSTNAMELEN
define. I thus also removed the defien from the namser.h file where it was
once added for the windows build.
I also fixed init_by_defaults() function to not leak memory in case if
error.
17 years ago
Yang Tse
e4ac0f9347
fix C style comment
17 years ago
Yang Tse
08d3bc37aa
John Lightsey filed bug report #1999181 : "CLOCK_MONOTONIC always fails on
...
some systems" (http://curl.haxx.se/bug/view.cgi?id=1999181 ). The problem was
that the configure script did not use the _POSIX_MONOTONIC_CLOCK feature test
macro when checking monotonic clock availability. This is now fixed and the
monotonic clock will not be used unless the feature test macro is defined
with a value greater than zero indicating always supported.
17 years ago
Yang Tse
8dc7f22b9a
Modified configuration script to actually verify if the compiler is good
...
enough at detecting compilation errors or at least it has been properly
configured to do so. Configuration heavily depends on this capability, so
if this compiler sanity check fails the configuration process will now fail.
17 years ago
Yang Tse
c6148bcad5
No longer break out of a shell "for" statement from inside
...
AC_FOO_IFELSE macros, otherwise temp files are not removed.
Identation adjustment.
17 years ago
Gunter Knauf
d29c66e36d
enable additional CFLAGS from commandline.
17 years ago
Yang Tse
4ccd0a85b1
fix pkg-config reporting of private libraries needed for static linking
17 years ago
Yang Tse
f953ff981c
MSVC does build Windows native targets
17 years ago
Yang Tse
9191dc5c33
Brad House fixed a missing header file inclusion in adig sample program
17 years ago
Daniel Stenberg
41f303a6bd
start working on 1.5.3
17 years ago
Daniel Stenberg
2d09f0bf7c
1.5.2
17 years ago
Yang Tse
940b551d2a
fix compiler warning: unreferenced formal parameter
17 years ago
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)
17 years ago
Daniel Stenberg
f0d0df9e9b
this is not used (anymore)
17 years ago
Daniel Stenberg
d7c4f9ad16
make sure the configure.ac file with the correct version number is shipped
...
in the tarball
17 years ago
Yang Tse
9db5e3476a
MSVC6+ clean-up targets must also remove acountry.exe
17 years ago
Yang Tse
b7701a257c
sync with reality
17 years ago
Yang Tse
9220e0984a
fix: [action-if-found] part of AC_CHECK_TYPE macro cannot be quoted when empty
17 years ago
Yang Tse
41b0e80a3f
fix: remove need and definition of HAVE_SOCKLEN_T symbol
17 years ago
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