summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-13 04:23:09 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-01-13 04:23:09 +0100
commit2c90e6fc7a2c0858babaa45f3bf969238739aabf (patch)
tree77d2f7ab7d478a8692f032f1ee4c44067e4948df /source4
parentc264fb4bde955ede94b82b5e98308553ecab93f2 (diff)
downloadsamba-2c90e6fc7a2c0858babaa45f3bf969238739aabf.tar.gz
samba-2c90e6fc7a2c0858babaa45f3bf969238739aabf.tar.bz2
samba-2c90e6fc7a2c0858babaa45f3bf969238739aabf.zip
python: Fix initialization of variable.
(This used to be commit 620ec696657558dbad2a6c7d4231deabcaeaaef1)
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/config.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/scripting/python/config.m4 b/source4/scripting/python/config.m4
index 6cf667a338..b0884478c1 100644
--- a/source4/scripting/python/config.m4
+++ b/source4/scripting/python/config.m4
@@ -36,6 +36,8 @@ AC_DEFUN([TRY_LINK_PYTHON],
fi
])
+dnl assume no working python
+working_python=no
if test -z "$PYTHON_VERSION"; then
AC_PATH_PROGS([PYTHON_CONFIG], [python2.6-config python2.5-config python2.4-config python-config])
@@ -44,7 +46,6 @@ else
fi
if test -z "$PYTHON_CONFIG"; then
- working_python=no
AC_MSG_WARN([No python-config found])
else
TRY_LINK_PYTHON([`$PYTHON_CONFIG --ldflags`], [`$PYTHON_CONFIG --includes`])