diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-30 13:14:01 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:27:18 +1000 |
commit | 8e36daf51389c43de9182c660a68923049e7df5e (patch) | |
tree | 0e0c97afaa522750c9ce912424b2349c3f876480 /lib/replace/wscript | |
parent | 77a4fe495ef8056d186d5b6d24f895ff64db77ee (diff) | |
download | samba-8e36daf51389c43de9182c660a68923049e7df5e.tar.gz samba-8e36daf51389c43de9182c660a68923049e7df5e.tar.bz2 samba-8e36daf51389c43de9182c660a68923049e7df5e.zip |
s4-waf: added test for dlopen prototype
Diffstat (limited to 'lib/replace/wscript')
-rw-r--r-- | lib/replace/wscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript index 12ccd395a2..7c060a92e6 100644 --- 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 |