summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-17 20:40:03 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:42 +1000
commitdd05b6512ab2d5c8fc2d0fe18fcd19b62fee6f01 (patch)
tree24f0ad89ac92052b10c51f2e28f90c4fc7f81d64 /lib
parent54e26fcb48e385cf62161cd62f102dd34d1c6b3b (diff)
downloadsamba-dd05b6512ab2d5c8fc2d0fe18fcd19b62fee6f01.tar.gz
samba-dd05b6512ab2d5c8fc2d0fe18fcd19b62fee6f01.tar.bz2
samba-dd05b6512ab2d5c8fc2d0fe18fcd19b62fee6f01.zip
build: improve autoconf macros
- enable headers to be specified - enable both forms of DECL check - more libreplace checks - more heimdal checks - more sysdep checks
Diffstat (limited to 'lib')
-rw-r--r--lib/replace/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 4ca33fa93a..067b80edea 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -131,6 +131,9 @@ def configure(conf):
conf.CHECK_DECLS('snprintf vsnprintf asprintf vasprintf')
+ conf.CHECK_DECLS('dirfd environ errno getgrent_r getpwent_r', reverse=True)
+ conf.CHECK_DECLS('pread pwrite setenv setresgid setresuid', reverse=True)
+
conf.check_cc(fragment='''
#include <stdarg.h>
va_list ap1,ap2;