1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-10 11:35:07 -05:00
curl/m4
Irfan Adilovic d9f3b365a3 configure: ac_cv_ -> curl_cv_ for write-only vars
These configure vars are modified in a curl-specific way but never
evaluated or loaded from cache, even though they are designated as
_cv_. We could either implement proper AC_CACHE_CHECKs for them, or
remove them completely.

Fixes #603 as ac_cv_func_gethostbyname is no longer clobbered, and
AC_CHECK_FUNC(gethostbyname...) will no longer spuriously succeed after
the first configure run with caching.

`ac_cv_func_strcasecmp` is curious, see #770.

`eval "ac_cv_func_$func=yes"` can still cause problems as it works in
tandem with AC_CHECK_FUNCS and then potentially modifies its result. It
would be best to rewrite this test to use a new CURL_CHECK_FUNCS macro,
which works the same as AC_CHECK_FUNCS but relies on caching the values
of curl_cv_func_* variables, without modifiying ac_cv_func_*.
2016-04-21 23:08:28 +02:00
..
.gitignore configure: libtool 1.5 tweaks 2011-12-15 18:01:00 +01:00
curl-compilers.m4 URLs: Change more haxx.se URLs from http: to https: 2016-02-03 01:45:21 +01:00
curl-confopts.m4 configure: ac_cv_ -> curl_cv_ for r/w vars 2016-04-21 23:08:28 +02:00
curl-functions.m4 configure: ac_cv_ -> curl_cv_ for write-only vars 2016-04-21 23:08:28 +02:00
curl-openssl.m4 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl-override.m4 configure: use XC_CONFIGURE_PREAMBLE early checks 2013-01-23 14:29:00 +01:00
curl-reentrant.m4 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
xc-am-iface.m4 xc-am-iface.m4: comments refinement 2013-07-18 16:03:15 +02:00
xc-cc-check.m4 configure: warn on bad env variable use, don't error 2013-08-05 09:31:59 +02:00
xc-lt-iface.m4 configure: allow static builds on mingw 2015-12-20 23:43:46 +01:00
xc-translit.m4 xc-translit.m4 fix quoting 2011-06-21 00:03:44 +02:00
xc-val-flgs.m4 Revert "configure: don't error out on variable confusions, just warn" 2013-08-05 09:28:44 +02:00
zz40-xc-ovr.m4 zz40-xc-ovr.m4: fix 'wc' detection - follow-up 2 2013-01-30 16:57:43 +01:00
zz50-xc-ovr.m4 configure: libtool 1.5 tweaks 2011-12-15 18:01:00 +01:00
zz60-xc-ovr.m4 zz60-xc-ovr.m4: tighten XC_OVR_ZZ60 macro placement requirements 2013-01-23 16:08:31 +01:00