From 54e26fcb48e385cf62161cd62f102dd34d1c6b3b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 7 Mar 2010 14:32:27 +1100 Subject: build: added CHECK_DECLS() --- lib/replace/wscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/replace/wscript') diff --git a/lib/replace/wscript b/lib/replace/wscript index c0bbadf695..4ca33fa93a 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -129,6 +129,8 @@ def configure(conf): conf.CHECK_VARIABLE('rl_event_hook', define='HAVE_DECL_RL_EVENT_HOOK', always=True) + conf.CHECK_DECLS('snprintf vsnprintf asprintf vasprintf') + conf.check_cc(fragment=''' #include va_list ap1,ap2; -- cgit