$NetBSD: patch-configure,v 1.3 2015/02/26 10:15:02 taca Exp $ * Add DragonFly support. * Link proper postgresql library. * Avoid using "==" for argument of test(1). --- configure.orig 2015-02-18 01:55:55.000000000 +0000 +++ configure @@ -11840,7 +11840,7 @@ fi test -n "$PYTHON" && break done - if test "X$PYTHON" == "X"; then + if test "X$PYTHON" = "X"; then continue; fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking python module 'argparse'" >&5 @@ -11855,7 +11855,7 @@ $as_echo "not found" >&6; } unset ac_cv_path_PYTHON unset PYTHON done - if test "X$PYTHON" == "X" + if test "X$PYTHON" = "X" then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python support" >&5 $as_echo_n "checking for python support... " >&6; } @@ -14379,6 +14379,8 @@ case $host in use_threads=false ;; *-freebsd*) use_threads=true ;; +*-dragonfly*) + use_threads=false ;; *-bsdi[234]*) # Thread signals do not work reliably on some versions of BSD/OS. use_threads=false ;; @@ -21029,7 +21031,7 @@ $as_echo "no" >&6; } fi if test -n "-L$use_dlz_postgres_lib -lpq" then - DLZ_DRIVER_LIBS="$DLZ_DRIVER_LIBS -L$use_dlz_postgres_lib -lpq" + DLZ_DRIVER_LIBS="$DLZ_DRIVER_LIBS -L${PREFIX}/lib -lpq" fi