summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2010-12-15configure: inet_net_pton function check adjustmentsYang Tse1-31/+1
Define HAVE_INET_NET_PTON only when system's inet_net_pton function is IPv6 capable and is not affected by the WLB-2008080064 advisory. HAVE_INET_NET_PTON_IPV6 is no longer defined nor used.
2010-11-25configure: fix autoconf warningYang Tse1-1/+1
2010-11-13configure: fix autoconf 2.68 warning: no AC_LANG_SOURCE call detected in bodyYang Tse1-5/+11
2010-11-12Revert following commits:Yang Tse1-1/+0
07bc7ea79509bcc9ef6e09151e81766ed00d3392 3392a50ea3f8573ea4b7a9d82b9833dab60cb0e9 9912637d32c9987719a1ea12db591aee2941891c The purpose of the whole patch was to silence a compiler warning triggered with GCC 4 on file ares_process.c The specific compiler warning was 'dereferencing type-punned pointer might break strict-aliasing rules'. A simpler patch will follow to equally silence the warning.
2010-08-04sock-addr-storage: Detect and deal with lack of .ss_family member.Ben Greear1-0/+1
AIX, at least, does not have sockaddr_storage.ss_family member. Detect this in the configure logic and use proper #ifdefs in the ares_process logic. Signed-off-by: Ben Greear <greearb@candelatech.com> Tested-by: Tor Arntsen <tor@spacetec.no>
2010-07-29build: Enable compiling with -Werror.Ben Greear1-0/+7
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>
2009-11-24When using icc, compile with -fpic and link with intel dynamic libraries.Yang Tse1-19/+20
2009-11-22Make configure remove the ares_build.h file included in distribution tarballs.Yang Tse1-0/+5
2009-11-16Add check for assert.h header fileYang Tse1-0/+1
2009-11-15Remove enable-thread / disable-thread configure option. These were only placeboYang Tse1-27/+0
options. The library is always built as thread safe as possible on every system.
2009-11-14Refactor how preprocessor symbol _THREAD_SAFE definition is done.Yang Tse1-21/+1
2009-10-31Symbol hiding configure options renamed to the hopefully less ambiguousYang Tse1-3/+3
--enable-symbol-hiding and --disable-symbol-hiding as well as related macro names and some internal variables used for them. Related configuration file preprocessor symbols named to CARES_SYMBOL_HIDING and CARES_SYMBOL_SCOPE_EXTERN.
2009-10-29External API function linkage decoration adjustmentYang Tse1-2/+2
2009-10-28Initial step towards the ability to reduce c-ares exported symbolsYang Tse1-0/+23
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-27Fix spellingYang Tse1-1/+1
2009-10-19Use *_CHECK_PATH_SEPARATOR_REQUIRED to ensure that *_CHECK_PATH_SEPARATORYang Tse1-1/+1
is only expanded and included once in the configure script.
2009-07-14renamed generated config.h to ares_config.h in order to avoid clashes when ↵Gunter Knauf1-1/+1
libcurl is used with other projects which also have a config.h.
2009-06-20Refactor how libraries are checked for connect() function,Yang Tse1-2/+2
and check for connect() as it is done for other functions.
2009-06-18add CloseSocket camel case function checkYang Tse1-0/+1
2009-06-17check for socket() and closesocket() as it is done for other functionsYang Tse1-0/+3
2009-05-28c-ares' --enable-curldebug adjustmentsYang Tse1-16/+6
2009-05-26c-ares's --enable-curldebug configure option decoupled from c-ares's ↵Yang Tse1-5/+5
--enable-debug
2009-05-11Remove experimental check. Currently there's no need for it.Yang Tse1-1/+0
2009-05-07Fix an m4 overquoting triggering a spurious 'AS_TR_CPP' symbol definitionYang Tse1-1/+1
attempt in generated config.h
2009-05-07Proper naming for the experimental compiler test and moved to *-compilers.m4Yang Tse1-0/+1
2009-05-07Moved *_CHECK_COMPILER_HALT_ON_ERROR and ↵Yang Tse1-2/+2
*_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE to *-compilers.m4 along with other *_CHECK_COMPILER_*
2009-05-03HP-UX's X/Open network library requirement check follow-upYang Tse1-21/+1
2009-05-02Use build-time configured ares_socklen_t instead of socklen_tYang Tse1-3/+0
2009-05-01Check definition of _XOPEN_SOURCE_EXTENDED with the compilerYang Tse1-1/+1
2009-04-30Check if X/Open network library is requiredYang Tse1-0/+22
2009-04-28Initial step towards a configure time ares_socklen_t definitionYang Tse1-1/+5
2009-04-21Moved potential inclusion of system's malloc.h and memory.h header files toYang Tse1-0/+1
setup_once.h. Inclusion of each header file is based on the definition of NEED_MALLOC_H and NEED_MEMORY_H respectively.
2009-04-14use HAVE_LIMITS_H symbol to protect limits.h inclusionYang Tse1-0/+1
2008-11-18provide a common PATH_SEPARATOR check method which is required byYang Tse1-0/+2
upcomming work to support the broadest range of Autoconf versions
2008-11-18check for gethostbyaddr and gethostbyname as it is done for other functionsYang Tse1-3/+3
2008-11-16trim down configure script sizeYang Tse1-16/+2
2008-11-13Refactor configure script detection of functions used to set sockets intoYang Tse1-2/+8
non-blocking mode, and decouple function detection from function capability.
2008-10-30check for freeaddrinfo() at configuration phaseYang Tse1-0/+1
2008-10-29make CHECK_FUNC_GETADDRINFO_UNFREEABLE_AI_ADDRYang Tse1-2/+0
and CHECK_FUNC_GETADDRINFO_UNFREEABLE_AI_CANONNAME internal to CHECK_FUNC_GETADDRINFO
2008-10-28Initial attempt to detect at configuration time if the getaddrinfo()Yang Tse1-0/+1
function returns an addrinfo with an unfreeable ai_canonname member ptr.
2008-10-28Initial attempt to detect at configuration time if the getaddrinfo()Yang Tse1-0/+2
function returns an addrinfo with an unfreeable ai_addr member ptr.
2008-10-22remove from configure.ac temporary magic for the icc seg-fault issueYang Tse1-11/+7
2008-10-21some more temporary magic for the icc seg-fault issueYang Tse1-0/+4
2008-10-20some more temporary magic for the icc seg-fault issueYang Tse1-8/+8
2008-10-15Ensure that shell variable contents which have active meaningYang Tse1-6/+6
to the shell echo command are not interpreted when trying to remove extra whitespace from shell variable content.
2008-10-07Initial attempt to support configure's --(dis|en)able-optimizeYang Tse1-4/+16
option to specify dis(activation) of compiler optimizations. If option is specified, it will be honored independant of the --(dis|en)able-debug option.
2008-10-02Initial attempt to support configure's --(dis|en)able-warningsYang Tse1-180/+14
option to specify dis(activation) of picky compiler warnings. If option is specified, it will be honored independant of the --(dis|en)able-debug option. If option is not specified, it will follow --(dis|en)able-debug setting, whose default is disabled if not specified.
2008-09-30now compiler warnings are activated for all gcc builds, not only debug ones.Yang Tse1-7/+49
2008-09-30Use CFLAGS for icc linker options instead of LDFLAGS,Yang Tse1-3/+3
otherwise gethostbyname() is not detected.
2008-09-29use ac_cv_compiler and ac_cv_compiler_num to keep compiler ID and version numberYang Tse1-34/+49