ccan: configure check for HAVE_BUILTIN_CHOOSE_EXPR
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 13 Sep 2011 21:35:13 +0000 (07:05 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 13 Sep 2011 21:35:13 +0000 (07:05 +0930)
commitabb437c0abedc6646927381017666db3f962befd
tree9a2bafc03384af589281a0f09aca93752ceb3c3b
parenta26fe036fee538c16a9e1b5e2369270260aec189
ccan: configure check for HAVE_BUILTIN_CHOOSE_EXPR

We weren't testing for this, and without it, typesafe_cb just casts
its function argument.  This is why I didn't get a warning when one of
my patches amended a function incorrectly.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
lib/ccan/libccan.m4
lib/ccan/wscript