$NetBSD: patch-configure,v 1.6 2017/01/03 19:21:49 wiz Exp $ Allow building with python 3.4-3.6. Fix unportable test(1) operator. --- configure.orig 2016-11-01 15:17:51.000000000 +0000 +++ configure @@ -15509,7 +15509,7 @@ fi # Find any Python interpreter. if test -z "$PYTHON"; then - for ac_prog in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 + for ac_prog in python python2 python3 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 @@ -18255,7 +18255,7 @@ fi --disable-omx-rpi --disable-cuda --disable-cuvid --disable-libmfx \ --disable-libnpp --disable-iconv --disable-jni --enable-optimizations" - if test "x$enable_gpl" == "xyes"; then + if test "x$enable_gpl" = "xyes"; then emblibav_configure_args="$emblibav_configure_args --enable-gpl" fi