2 HAVE_OPENSSL='@HAVE_OPENSSL@'
3 HAVE_PYTHON='@HAVE_PYTHON@'
7 if test x"$PYTHON" = x; then
11 PYTHONPATH=$abs_top_srcdir/python:$abs_top_builddir/tests:$PYTHONPATH
14 PYTHONIOENCODING=utf_8
15 export PYTHONIOENCODING
17 # PYTHONDONTWRITEBYTECODE=yes keeps Python 2.6+ from creating .pyc and .pyo
18 # files. Creating .py[co] works OK for any given version of Open
19 # vSwitch, but it causes trouble if you switch from a version with
20 # foo/__init__.py into an (older) version with plain foo.py, since
21 # foo/__init__.pyc will cause Python to ignore foo.py.
23 # Python before version 2.6 always creates .pyc files, so if you develop
24 # with such an older version then you're out of luck.
25 PYTHONDONTWRITEBYTECODE=yes
26 export PYTHONDONTWRITEBYTECODE
28 if test $HAVE_PYTHON = yes; then
29 if python -m argparse 2>/dev/null; then
32 PYTHONPATH=$PYTHONPATH:$abs_top_srcdir/python/compat
37 # Enable malloc debugging features.
43 export MALLOC_PERTURB_
51 MALLOC_CONF=abort:true,junk:true,redzone:true