summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2013-03-10ares.h: stricter CARES_EXTERN linkage decorations logicYang Tse1-25/+29
No API change involved.
2013-03-08configure: use XC_LIBTOOL for portability across libtool versionsYang Tse1-28/+10
2013-01-28zz40-xc-ovr.m4: 1.0 interface stabilizationYang Tse1-1/+2
- Stabilization results in 4 public interface m4 macros: XC_CONFIGURE_PREAMBLE XC_CONFIGURE_PREAMBLE_VER_MAJOR XC_CONFIGURE_PREAMBLE_VER_MINOR XC_CHECK_PATH_SEPARATOR - Avoid one level of internal indirection - Update comments - Drop XC_OVR_ZZ40 macro
2013-01-23configure: use XC_CONFIGURE_PREAMBLE early checksYang Tse1-2/+1
Some basic checks we make were placed early enough in generated configure script when using autoconf 2.5X versions. Newer autoconf versions expand these checks much further into the configure script, rendering them useless. Using XC_CONFIGURE_PREAMBLE fixes placement of early intended checks across all our autoconf supported versions.
2013-01-23configure: autotools compatibility fixes - step IYang Tse1-5/+5
Fix proper macro expansion order across autotools versions for C compiler and preprocessor program checks.
2013-01-23configure: fix automake 1.13 compatibilityYang Tse1-0/+1
Tested with: buildconf: autoconf version 2.69 buildconf: autom4te version 2.69 buildconf: autoheader version 2.69 buildconf: automake version 1.13.1 buildconf: aclocal version 1.13.1 buildconf: libtool version 2.4 buildconf: GNU m4 version 1.4.16
2013-01-01configure.ac: replace AM_CONFIG_HEADER with AC_CONFIG_HEADERSYang Tse1-1/+1
automake 1.13 errors if AM_CONFIG_HEADER is used in configure script.
2012-12-16configure: check if compiler halts on function prototype mismatchYang Tse1-0/+1
2012-05-25Fix libcares.pc generation for static MingW* cross buildsYang Tse1-0/+3
2012-04-17configure: Windows cross-compilation fixesYang Tse1-2/+6
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.
2011-12-20configure: libtool 1.5 tweaksYang Tse1-0/+1
2011-08-20warnings: fix some 'conversion may lose significant bits' compiler warningsYang Tse1-1/+2
2011-06-17configure: avoid direct usage of AS_TR_* macrosYang Tse1-1/+1
2011-06-15Revert "Do not use sized constants in public headers"Jakub Hrozek1-0/+1
This reverts commit 22c01e96f7b2ae9923e1baa50bfe3c0d22297a7d. This is a Red Hat specific patch that does not belong into upstream
2011-06-14Do not use sized constants in public headersJakub Hrozek1-1/+0
2011-03-25configure: fix libtool warningYang Tse1-0/+1
Recent versions of libtool are now tracing usage of AC_CONFIG_MACRO_DIR macro and warn heavily when not used in configure script along with ACLOCAL_AMFLAGS in Makefile.am. So in order to make libtool happy while keeping backwards compatibility this is added.
2011-03-23build: use getenv() replacement function for systems which lack itYang Tse1-0/+1
2011-03-22configure: r-enable temporarily disabled detection of system's inet_ntop()Yang Tse1-3/+1
Detection was temporarily disabled in commit 674e044ccb21f2f63537da53565fce868f
2011-03-15configure: stop using the deprecated AM_INIT_AUTOMAKE syntaxDaniel Stenberg1-5/+1
2010-12-19configure: fix a bashismPeter Pentchev1-1/+1
2010-12-16configure: temporarily disable detection of system's inet_ntop()Yang Tse1-1/+3
This is done to allow compilation of ares_inet_ntop() by some daily builds picky compilers that otherwise do not need this function.
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