X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fatlocal.in;h=7f09143f4711d206ed046981372ad986d12679bd;hb=821cb9fac77850ae3546ab38766a58ff5e75e8a8;hp=d0ca70486ae58dcf76e66b4a1b9b726937f0624f;hpb=39fb08818bbd9c438dbf23caa89937c663451b5a;p=openvswitch diff --git a/tests/atlocal.in b/tests/atlocal.in index d0ca7048..7f09143f 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