projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dpif-linux: Fix build with certain 64-bit kernel/userspace combinations.
[openvswitch]
/
tests
/
atlocal.in
diff --git
a/tests/atlocal.in
b/tests/atlocal.in
index 0166f0f0c32290d826482b4a02c314400995851a..7f09143f4711d206ed046981372ad986d12679bd 100644
(file)
--- a/
tests/atlocal.in
+++ b/
tests/atlocal.in
@@
-9,3
+9,12
@@
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