git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e37b834
)
lib/replace/wscript: implement the same getpass detection logic as the autoconf version
author
Stefan Metzmacher
<metze@samba.org>
Mon, 12 Apr 2010 06:29:53 +0000
(08:29 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 12 Apr 2010 06:52:03 +0000
(08:52 +0200)
metze
lib/replace/wscript
patch
|
blob
|
history
diff --git
a/lib/replace/wscript
b/lib/replace/wscript
index 7dbf468d1136e8838c339f6712dc4fa6b5d75330..43e8e9ac40473f45c3cce4dc568448bc3090ffae 100644
(file)
--- a/
lib/replace/wscript
+++ b/
lib/replace/wscript
@@
-281,8
+281,8
@@
def configure(conf):
# if we have both, then we prefer getpassphrase
conf.DEFINE('REPLACE_GETPASS_BY_GETPASSPHRASE', 1)
conf.DEFINE('REPLACE_GETPASS', 1)
-
- conf.CHECK_CODE('''#include "getpass.c"
+ else:
+
conf.CHECK_CODE('''#include "getpass.c"
int main(void) { return 0; }''',
addmain=False,
define='REPLACE_GETPASS',