datapath: Use u64_stats_sync for datapath and vport stats.
[openvswitch] / tests / atlocal.in
index 9c9f654cc645235c31fe451e2d252aa7b9974b54..7f09143f4711d206ed046981372ad986d12679bd 100644 (file)
@@ -4,8 +4,17 @@ HAVE_PYTHON='@HAVE_PYTHON@'
 PERL='@PERL@'
 PYTHON='@PYTHON@'
 
-PYTHONPATH=$PYTHONPATH:$abs_top_srcdir/python
+PYTHONPATH=$PYTHONPATH:$abs_top_srcdir/python:$abs_top_builddir/tests
 export PYTHONPATH
 
 PYTHONIOENCODING=utf_8
 export PYTHONIOENCODING
+
+if test $HAVE_PYTHON = yes; then
+    if python -m argparse 2>/dev/null; then
+        :
+    else
+        PYTHONPATH=$PYTHONPATH:$abs_top_srcdir/python/compat
+        export PYTHONPATH
+   fi
+fi