[getdns-api] Placement of the library vs. the examples in the doc
paul.hoffman at vpnc.org
Thu May 22 09:29:52 MST 2014
On May 22, 2014, at 12:50 AM, Willem Toorop <Willem at NLnetLabs.nl> wrote:
> There is no getdns_libevent.h in the getdns library. In the source tar
> ball there is a directory containing the examples ( src/example ) which
> has wrapper include files (getdns_core_only.h and getdns_libevent.h) to
> make the API spec examples compile.
Got it. This is a reasonable way to go.
> The examples themselves are not touched and are exactly how they appear
> in the spec. You can build them simply by running make example from
> your build directory.
Yep, that seems to work.
I wanted to duplicate the functionality outside the build directory (removing some of the build cruft) and installing libtool from apt-get, but that failed. Using your libtool worked. Which leads to the question: what's the difference between the custom libtool and the generic one?
More information about the getdns-api