• Rusty Russell's avatar
    configurator: define HAVE_CCAN. · 98b8ada2
    Rusty Russell authored
    An interesting case came up with the tdb2 code in SAMBA recently.  It's a
    public library, and it doesn't want to be dependent on CCAN, but the header
    uses cast and typesafe_cb for extra type safety.
    
    A good solution to this is to put dummy versions under !HAVE_CCAN.  Of course,
    any CCAN config.h should define HAVE_CCAN.
    98b8ada2
config.h 1.59 KB