configurator: define HAVE_CCAN.
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.
Showing
Please register or sign in to comment