ofp-print: Remove unused function ofp_message_type_to_string().
[sliver-openvswitch.git] / tests / atlocal.in
index d0ca704..400a5c5 100644 (file)
@@ -1,3 +1,25 @@
 # -*- shell-script -*-
+VERSION='@VERSION@'
+BUILDNR='@BUILDNR@'
+HAVE_OPENSSL='@HAVE_OPENSSL@'
+HAVE_PYTHON='@HAVE_PYTHON@'
 PERL='@PERL@'
-LCOV='@LCOV@'
+
+if test x"$PYTHON" = x; then
+    PYTHON='@PYTHON@'
+fi
+
+PYTHONPATH=$abs_top_srcdir/python:$abs_top_builddir/tests:$PYTHONPATH
+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