git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77a4fe4
)
s4-waf: added test for dlopen prototype
author
Andrew Tridgell
<tridge@samba.org>
Tue, 30 Mar 2010 02:14:01 +0000
(13:14 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 6 Apr 2010 10:27:18 +0000
(20:27 +1000)
lib/replace/wscript
patch
|
blob
|
history
diff --git
a/lib/replace/wscript
b/lib/replace/wscript
index 12ccd395a22f8a8d45181c4c05bef7132ad7131d..7c060a92e647a7349ee9ca131f71ea6194fcdf98 100644
(file)
--- a/
lib/replace/wscript
+++ b/
lib/replace/wscript
@@
-128,6
+128,9
@@
def configure(conf):
conf.CHECK_FUNCS_IN('dlopen dlsym dlerror dlclose', 'dl',
checklibc=True, headers='dlfcn.h dl.h')
+ conf.CHECK_C_PROTOTYPE('dlopen', 'void *dlopen(const char* filename, unsigned int flags)',
+ define='DLOPEN_TAKES_UNSIGNED_FLAGS', headers='dlfcn.h dl.h')
+
conf.CHECK_FUNCS_IN('fdatasync', 'rt', checklibc=True)
# these headers need to be tested as a group on freebsd