build: fixed REPLACE_GETPASS
authorAndrew Tridgell <tridge@samba.org>
Sat, 20 Mar 2010 20:34:58 +0000 (16:34 -0400)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:26:56 +0000 (20:26 +1000)
lib/replace/wscript

index e1ac8b9ba98feb2e1e5c618ff068761f9759d7a4..30c1f129aa35484e1c965892a3849972b5315995 100644 (file)
@@ -312,8 +312,8 @@ def configure(conf):
 
     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)
+        conf.DEFINE('REPLACE_GETPASS_BY_GETPASSPHRASE', 1)
+        conf.DEFINE('REPLACE_GETPASS', 1)
 
     conf.CHECK_CODE('''#include "getpass.c"
                        int main(void) { return 0; }''',