On Sat, 13 Dec 2014, Jeroen Ooms wrote:
And is there a way to test if particular CURLOPT_ value is present in the
CURLoption enum form curl.h when compiling? How does autoconf figure this
out?
I'm not sure it answers your question exactly, but...
We offer docs/libcurl/symbols-in-versions that describes exactly in which
versions which symbols exist.
In addition to that, we provide docs/libcurl/symbols.pl, with which you can
generate a header file that allows you to then do "queries" like this:
#if LIBCURL_HAS(CURLOPT_MUTE)
# has mute
# #else
# no mute
# #endif
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html