$NetBSD: patch-configure,v 1.2 2020/07/20 14:40:36 maya Exp $ Use portable test(1) operator. --- configure.orig 2020-05-06 20:19:58.000000000 +0000 +++ configure @@ -16861,7 +16861,7 @@ for d in sc.get_config_var('INCLDIRSTOMA print(' '.join(incldirs)) " -if test "x$PYTHON_INCLUDES" == x; then +if test "x$PYTHON_INCLUDES" = x; then PYTHON_INCLUDES=`$PYTHON -c "$am_python_print_includes"` fi @@ -16894,10 +16894,10 @@ print(libs)" am_python_print_lib_loc="\ from distutils import sysconfig as sc print(sc.get_config_var('LIBDIR'))" -if test "x$PYTHON_LIBS" == x; then +if test "x$PYTHON_LIBS" = x; then PYTHON_LIBS=`$PYTHON -c "$am_python_print_libs"` fi -if test "x$PYTHON_LIB_LOC" == x; then +if test "x$PYTHON_LIB_LOC" = x; then PYTHON_LIB_LOC=`$PYTHON -c "$am_python_print_lib_loc"` fi