python/samba/getopt: don't prompt for a password for --use-krb5-ccache=...
[samba.git] / configure
index 30858df9e3cc10da39390bcd53092b38a9c76897..ef80911d944ccde7a262c78f1c9d400d36edccdc 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-PREVPATH=`dirname $0`
+PREVPATH=$(dirname $0)
 
 WAF=./buildtools/bin/waf
 
@@ -9,6 +9,13 @@ WAF=./buildtools/bin/waf
 JOBS=1
 export JOBS
 
+# Make sure we don't have any library preloaded.
+unset LD_PRELOAD
+
+# Make sure we get stable hashes
+PYTHONHASHSEED=1
+export PYTHONHASHSEED
+
 cd . || exit 1
-${PYTHON:=python} $WAF configure "$@" || exit 1
+$PYTHON $WAF configure "$@" || exit 1
 cd $PREVPATH