git.samba.org
/
garming
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c264fb4
)
python: Fix initialization of variable.
author
Jelmer Vernooij
<jelmer@samba.org>
Sun, 13 Jan 2008 03:23:09 +0000
(
04:23
+0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Sun, 13 Jan 2008 03:23:09 +0000
(
04:23
+0100)
(This used to be commit
620ec696657558dbad2a6c7d4231deabcaeaaef1
)
source4/scripting/python/config.m4
patch
|
blob
|
history
diff --git
a/source4/scripting/python/config.m4
b/source4/scripting/python/config.m4
index 6cf667a338e7124c805e56de028d02fd04d05ba0..b0884478c157e434a3124fbba566ce9a682643b3 100644
(file)
--- 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`])