summaryrefslogtreecommitdiff
path: root/m4
AgeCommit message (Collapse)AuthorFilesLines
2013-03-08configure: use XC_LIBTOOL for portability across libtool versionsYang Tse1-29/+3
2013-03-08xc-lt-iface.m4: provide XC_LIBTOOL macroYang Tse1-0/+465
2013-01-30zz40-xc-ovr.m4: fix 'wc' detection - follow-up 2Yang Tse1-1/+1
- Fix a pair of single quotes to double quotes. URL: http://curl.haxx.se/mail/lib-2013-01/0355.html Reported by: Tor Arntsen
2013-01-30zz40-xc-ovr.m4: fix 'wc' detection - follow-upYang Tse1-8/+20
- Take into account that 'wc' may return leading spaces and/or tabs. - Set initial IFS to space, tab and newline.
2013-01-30zz40-xc-ovr.m4: fix 'wc' detectionYang Tse1-3/+14
- Take into account that 'wc' may return leading spaces. - Set internationalization behavior variables. Tor Arntsen analyzed and reported the issue. URL: http://curl.haxx.se/mail/lib-2013-01/0351.html
2013-01-29zz40-xc-ovr.m4: check another three basic utilitiesYang Tse1-24/+116
2013-01-28zz40-xc-ovr.m4: 1.0 interface stabilizationYang Tse1-89/+116
- 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-26zz40-xc-ovr.m4: emit witness message in configure BODYYang Tse1-3/+36
This avoids witness message in output when running configure --help, while sending the message to config.log for other configure runs.
2013-01-25zz40-xc-ovr.m4: truly do version conditional overridingYang Tse1-2/+15
- version conditional overriding - catch unexpanded XC macros - fix double words in comments
2013-01-25zz40-xc-ovr.m4: fix variable assignment of subshell output bashismYang Tse1-5/+5
Tor Arntsen analyzed and reported the issue. URL: http://curl.haxx.se/mail/lib-2013-01/0306.html
2013-01-25zz40-xc-ovr.m4: reinstate strict AC_REQUIRE macro dependenciesYang Tse1-0/+36
2013-01-25zz40-xc-ovr.m4: avoid double single-quote usageYang Tse1-4/+4
2013-01-25zz40-xc-ovr.m4: parentheses balancing of 'case' statementsYang Tse1-6/+6
m4 quadrigraph shell comment technique allows proper autoconf parentheses balancing in shell 'case' statements. The presence of unbalanced parentheses may otherwise trigger expansion bugs.
2013-01-24zz40-xc-ovr.m4: internals overhaulingYang Tse1-90/+120
- Update comments - Execute commands in subshells - Faster path separator check - Fix missing 'test' command - Rename private macros - Minimize AC_REQUIRE usage
2013-01-23zz40-xc-ovr.m4: redirect errors and warnings to stderrYang Tse1-7/+27
2013-01-23configure: use XC_CONFIGURE_PREAMBLE early checksYang Tse2-99/+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-23zz40-xc-ovr.m4: provide XC_CONFIGURE_PREAMBLE macroYang Tse1-0/+394
2013-01-23configure: autotools compatibility fixes - step IYang Tse4-22/+346
Fix proper macro expansion order across autotools versions for C compiler and preprocessor program checks.
2013-01-23configure: fix automake 1.13 compatibilityYang Tse2-10/+65
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-01cares-override.m4: provide AC_CONFIG_MACRO_DIR definition conditionallyYang Tse1-7/+7
Provide a 'traceable' AC_CONFIG_MACRO_DIR definition only when using an autoconf version that does not provide it, instead of what we were doing up to now of providing and overriding AC_CONFIG_MACRO_DIR for all autoconf versions.
2012-12-17cares-functions.m4: improve gethostname arg 2 data type checkYang Tse1-2/+4
2012-12-16configure: check if compiler halts on function prototype mismatchYang Tse1-1/+37
2012-12-15cares-functions.m4: add gethostname arg 2 data type check and definitionYang Tse1-1/+29
2012-12-15cares-functions.m4: update thread-safeness detection of getaddrinfo()Yang Tse1-7/+47
Take in account that POSIX standard Issue 7 drops h_errno support. Now, we also consider getaddrinfo() to be thread-safe when (_POSIX_C_SOURCE >= 200809L) or (_XOPEN_SOURCE >= 700) independently of whether h_errno exists or not. Take in account that h_errno might be a modifiable lvalue not defined as a C preprocessor macro.
2012-06-29cares-compilers.m4: remove -Wstrict-aliasing=3 from clangYang Tse1-4/+1
Currently it is unknown if there is any version of clang that actually supports -Wstrict-aliasing. What is known is that there are several that don't support it.
2012-06-26cares-compilers.m4: -Wstrict-aliasing=3 for warning enabled gcc and clang buildsYang Tse1-1/+7
2012-04-17cares-compilers.m4: -Wno-pedantic-ms-format for Windows gcc 4.5 buildsYang Tse1-1/+10
When building a Windows target with gcc 4.5 or newer and strict compiler warnings enabled use -Wno-pedantic-ms-format in addition to other flags.
2012-04-17cares-compilers.m4: double underscore decoration for visibility attributeYang Tse1-5/+5
2012-04-17build adjustments: CARES_SYMBOL_HIDING no longer defined in config filesYang Tse1-6/+9
configure script now provides conditional definitions for Makefile.am that result in CARES_SYMBOL_HIDING being defined by resulting makefiles when appropriate.
2011-12-20configure: libtool 1.5 tweaksYang Tse3-12/+62
2011-08-20configure: fix symbol hiding usability checkYang Tse1-2/+8
A more thorough test is done now in order to determine visibility attribute usability, given that some compilers don't support visibility attribute on all configurations.
2011-08-08cares-compilers.m4: CARES_CONVERT_INCLUDE_TO_ISYSTEM adjustmentsYang Tse1-30/+34
Add CARES_CHECK_COMPILER as a requirement. Ensure macro does nothing unless GNU_C or CLANG compiler is used. This should allow usage of this macro in unforeseen placements.
2011-07-29cares-functions.m4 serial # bumpYang Tse1-1/+1
2011-07-29Revert "configure: additional flag checks for fcntl() and socket()"Yang Tse1-201/+1
This reverts commit 5f2a3b0e48f26d24cb1fefea0dccb92d417dcbf7.
2011-07-29configure: additional flag checks for fcntl() and socket()Yang Tse1-1/+201
2011-06-21xc-translit.m4 fix quotingYang Tse1-11/+45
2011-06-17xc-translit.m4 provides transliteration macros with well defined behavior.Yang Tse1-0/+130
2011-06-04xlc: avoid preprocessor definition usage when linkingYang Tse1-12/+30
2011-03-25configure: fix libtool warningYang Tse1-1/+10
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-2/+87
2010-12-15configure: inet_net_pton function check adjustmentsYang Tse1-3/+228
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-12-02configure: undo using autobuilds to temporarily verify strict aliasing warnings.Yang Tse1-5/+0
2010-11-18configure: use autobuilds to temporarily verify strict aliasing warnings.Yang Tse1-0/+5
Temporarily, When cross-compiling with gcc 3.0 or later, enable strict aliasing rules and warnings. Given that cross-compiled targets autobuilds do not run the test-suite, there is no risk of running code that violates strict aliasing rules
2010-08-11configure: werror related adjustmentsYang Tse1-7/+8
2010-07-29build: Enable compiling with -Werror.Ben Greear1-0/+31
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>
2010-03-27remove all .cvsignore filesDaniel Stenberg1-5/+0
2010-03-23ignore lots of generated filesDaniel Stenberg1-0/+5
2010-03-23Fix warnings for clangDaniel Johnson1-2/+7
2010-03-17replaced intel compiler option -no-ansi-alias with -fno-strict-aliasingYang Tse1-3/+3
2010-03-17update outdated serial numberYang Tse1-1/+1