diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-02-23 19:08:40 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:26:37 +1000 |
commit | 15d523bb000fcf3b558dc3ecc28ebca0f4e86579 (patch) | |
tree | 7d440dbbb95cbfed5ce2a0b56f584699ca4b8ae9 /lib/replace | |
parent | 8900f97c2ca814e6bf52edd4a6c935a802d39238 (diff) | |
download | samba-15d523bb000fcf3b558dc3ecc28ebca0f4e86579.tar.gz samba-15d523bb000fcf3b558dc3ecc28ebca0f4e86579.tar.bz2 samba-15d523bb000fcf3b558dc3ecc28ebca0f4e86579.zip |
build: add LIBREPLACE_EXT
Diffstat (limited to 'lib/replace')
-rw-r--r-- | lib/replace/wscript | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript index a9410c9ff7..83f50b03a8 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -103,7 +103,7 @@ def configure(conf): conf.CHECK_FUNCS('strtouq strtoll __strtoll strtoq memmem printf memset memcpy') conf.CHECK_FUNCS('connect gethostbyname if_nametoindex socketpair') conf.CHECK_FUNCS('inet_ntoa inet_ntop dirfd getdirentries getdents syslog') - conf.CHECK_FUNCS('timegm getifaddrs freeifaddrs inet_aton inet_atop') + conf.CHECK_FUNCS('timegm getifaddrs freeifaddrs inet_aton inet_atop crypt') conf.CHECK_FUNCS_IN('dlopen dlsym dlerror dlclose', 'dl') conf.CHECK_FUNCS_IN('poptGetContext', 'popt') @@ -193,3 +193,9 @@ def build(bld): if not 'HAVE_SOCKETPAIR' in bld.env: NET_SOURCES.append('socketpair.c') bld.SAMBA_SUBSYSTEM('LIBREPLACE_NETWORK', NET_SOURCES) + + + CRYPT_SOURCES = [] + if not 'HAVE_CRYPT' in bld.env: CRYPT_SOURCES.append('crypt.c') + + bld.SAMBA_SUBSYSTEM('LIBREPLACE_EXT', CRYPT_SOURCES) |