summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-07 14:32:27 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:42 +1000
commit54e26fcb48e385cf62161cd62f102dd34d1c6b3b (patch)
treeed30497488c1e59c0d099e00eb3b416da9591a40 /lib/replace
parent8112b4007dd27a003648e425e666fbdc384b5abc (diff)
downloadsamba-54e26fcb48e385cf62161cd62f102dd34d1c6b3b.tar.gz
samba-54e26fcb48e385cf62161cd62f102dd34d1c6b3b.tar.bz2
samba-54e26fcb48e385cf62161cd62f102dd34d1c6b3b.zip
build: added CHECK_DECLS()
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/wscript2
1 files changed, 2 insertions, 0 deletions
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 <stdarg.h>
va_list ap1,ap2;