summaryrefslogtreecommitdiff
path: root/lib/replace/wscript
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-11-23 14:58:38 +0100
committerAndreas Schneider <asn@samba.org>2012-12-03 14:35:10 +0100
commit532350877322cd3446cfa65459e82a45d5cef76c (patch)
tree4f76603c816a1940868023443ebf3247d4830b1e /lib/replace/wscript
parentce29ecfd44613e4f3bae98418add1cc4d0ed59ab (diff)
downloadsamba-532350877322cd3446cfa65459e82a45d5cef76c.tar.gz
samba-532350877322cd3446cfa65459e82a45d5cef76c.tar.bz2
samba-532350877322cd3446cfa65459e82a45d5cef76c.zip
replace: Remove deprecated getpass() support.
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'lib/replace/wscript')
-rw-r--r--lib/replace/wscript12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 9dfa985aec..296dae907f 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -482,17 +482,6 @@ removeea setea
execute=True):
break
- if conf.CHECK_FUNCS('getpass getpassphrase'):
- # if we have both, then we prefer getpassphrase
- conf.DEFINE('REPLACE_GETPASS_BY_GETPASSPHRASE', 1)
- conf.DEFINE('REPLACE_GETPASS', 1)
- else:
- conf.CHECK_CODE('''#include "getpass.c"
- int main(void) { return 0; }''',
- addmain=False,
- define='REPLACE_GETPASS',
- cflags='-DNO_CONFIG_H')
-
conf.RECURSE('system')
conf.SAMBA_CONFIG_H()
@@ -542,7 +531,6 @@ def build(bld):
REPLACE_SOURCE = REPLACE_HOSTCC_SOURCE
- if bld.CONFIG_SET('REPLACE_GETPASS'): REPLACE_SOURCE += ' getpass.c'
if not bld.CONFIG_SET('HAVE_CRYPT'): REPLACE_SOURCE += ' crypt.c'
if not bld.CONFIG_SET('HAVE_DLOPEN'): REPLACE_SOURCE += ' dlfcn.c'
if not bld.CONFIG_SET('HAVE_POLL'): REPLACE_SOURCE += ' poll.c'