X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Fatlocal.in;h=7f09143f4711d206ed046981372ad986d12679bd;hb=1261619f8958b81df97bb45c1b27ca14aa43a3b4;hp=d0ca70486ae58dcf76e66b4a1b9b726937f0624f;hpb=d65349ea28bb67a0062a9b4b60ff97538206373b;p=sliver-openvswitch.git diff --git a/tests/atlocal.in b/tests/atlocal.in index d0ca70486..7f09143f4 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -1,3 +1,20 @@ # -*- shell-script -*- +HAVE_OPENSSL='@HAVE_OPENSSL@' +HAVE_PYTHON='@HAVE_PYTHON@' PERL='@PERL@' -LCOV='@LCOV@' +PYTHON='@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