$NetBSD: patch-gnatlib_configure,v 1.1 2013/07/09 10:16:02 marino Exp $ Remove BASHisms and support all BSD --- gnatlib/configure.orig 2012-09-13 12:50:01.000000000 +0000 +++ gnatlib/configure @@ -3948,7 +3948,7 @@ $as_echo "no" >&6; } ;; esac - if test x$PYTHON_WIN32 == xyes; then + if test x$PYTHON_WIN32 = xyes; then PYTHON_VERSION=$PYTHON_MAJOR_VERSION$PYTHON_MINOR_VERSION PYTHON_DIR=${PYTHON_BASE}/libs else @@ -4083,12 +4083,12 @@ $as_echo_n "checking if we can link with ia64-*hp-hpux11* ) PYTHON_LIBS="-ldld -ldl -lm -Wl,-E ${PYTHON_LIBS}" ;; - *-freebsd* ) + *-dragonfly* | *-freebsd* | *-netbsd* | *-openbsd* ) PYTHON_LIBS="-lm -lutil ${PYTHON_LIBS}" ;; esac - if test x$PYTHON_WIN32 == xyes; then + if test x$PYTHON_WIN32 = xyes; then PYTHON_CFLAGS="-I${PYTHON_BASE}/include" else PYTHON_CFLAGS="-I${PYTHON_BASE}/include/python${PYTHON_VERSION}" @@ -4450,7 +4450,7 @@ $as_echo "no (disabled by user)" >&6; } module="" done - if test "$module" == "" ; then + if test "$module" = "" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } WITH_PYGOBJECT=no