The Xen DDK VM does not include Python, so it's best if we don't have to
require it for the build.
The built sources are still regenerated if necessary.
- pkg-config. We test with version 0.22.
- pkg-config. We test with version 0.22.
+ - Python 2.x, for x >= 4.
+
Installation Requirements
-------------------------
Installation Requirements
-------------------------
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(
[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
- PYTHON=$ovs_cv_python])
+ AM_MISSING_PROG([PYTHON], [python])
+ if test $ovs_cv_python != no; then
+ PYTHON=$ovs_cv_python
+ fi])
noinst_DATA += tests/idltest.ovsschema
DISTCLEANFILES += tests/idltest.ovsschema
tests/idltest.c tests/idltest.h tests/idltest.ovsschema: ovsdb/ovsdb-idlc.in
noinst_DATA += tests/idltest.ovsschema
DISTCLEANFILES += tests/idltest.ovsschema
tests/idltest.c tests/idltest.h tests/idltest.ovsschema: ovsdb/ovsdb-idlc.in
+EXTRA_DIST += tests/idltest.c tests/idltest.h tests/idltest.ovsschema
noinst_PROGRAMS += tests/test-reconnect
tests_test_reconnect_SOURCES = tests/test-reconnect.c
noinst_PROGRAMS += tests/test-reconnect
tests_test_reconnect_SOURCES = tests/test-reconnect.c
DISTCLEANFILES += vswitchd/vswitch-idl.ovsschema
vswitchd/vswitch-idl.c vswitchd/vswitch-idl.h vswitchd/vswitch-idl.ovsschema: \
ovsdb/ovsdb-idlc.in
DISTCLEANFILES += vswitchd/vswitch-idl.ovsschema
vswitchd/vswitch-idl.c vswitchd/vswitch-idl.h vswitchd/vswitch-idl.ovsschema: \
ovsdb/ovsdb-idlc.in
+EXTRA_DIST += vswitchd/vswitch-idl.c vswitchd/vswitch-idl.h vswitchd/vswitch-idl.ovsschema