projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofproto: Get rid of unused parameter to ofconn_destroy().
[openvswitch]
/
m4
/
openvswitch.m4
diff --git
a/m4/openvswitch.m4
b/m4/openvswitch.m4
index b7267438c97127448cea3506ff7505003fea5fd1..ceb10732cfff22f1d0d118ed5c4cf150b9933a56 100644
(file)
--- a/
m4/openvswitch.m4
+++ b/
m4/openvswitch.m4
@@
-236,8
+236,7
@@
AC_DEFUN([OVS_CHECK_PCRE],
dnl Checks for Python 2.x, x >= 4.
AC_DEFUN([OVS_CHECK_PYTHON],
dnl Checks for Python 2.x, x >= 4.
AC_DEFUN([OVS_CHECK_PYTHON],
- [AC_ARG_VAR([PYTHON], [path to Python 2.x])
- AC_CACHE_CHECK(
+ [AC_CACHE_CHECK(
[for Python 2.x for x >= 4],
[ovs_cv_python],
[if test -n "$PYTHON"; then
[for Python 2.x for x >= 4],
[ovs_cv_python],
[if test -n "$PYTHON"; then
@@
-260,4
+259,7
@@
else:
done
done
fi])
done
done
fi])
- PYTHON=$ovs_cv_python])
+ AM_MISSING_PROG([PYTHON], [python])
+ if test $ovs_cv_python != no; then
+ PYTHON=$ovs_cv_python
+ fi])