$NetBSD: patch-aa,v 1.3 2008/10/16 13:59:39 drochner Exp $

--- configure.orig	2008-09-24 14:29:37.000000000 +0200
+++ configure
@@ -16260,7 +16260,7 @@ if test "x$enable_http" != "xno"; then
   msg_http=yes
 fi
 
-  if test "x$msg_http" == "xyes"; then
+  if test "x$msg_http" = "xyes"; then
 
 pkg_failed=no
 { echo "$as_me:$LINENO: checking for HTTP" >&5
@@ -16528,7 +16528,7 @@ if test "x$enable_fuse" != "xno"; then
   msg_fuse=yes
 fi
 
-  if test "x$msg_fuse" == "xyes"; then
+  if test "x$msg_fuse" = "xyes"; then
 
 pkg_failed=no
 { echo "$as_me:$LINENO: checking for FUSE" >&5
@@ -16679,7 +16679,7 @@ if test "x$enable_gconf" != "xno"; then
   msg_gconf=yes
 fi
 
-  if test "x$msg_gconf" == "xyes"; then
+  if test "x$msg_gconf" = "xyes"; then
 
 pkg_failed=no
 { echo "$as_me:$LINENO: checking for GCONF" >&5
@@ -16832,7 +16832,7 @@ if test "x$enable_hal" != "xno"; then
   msg_hal=yes
 fi
 
-  if test "x$msg_hal" == "xyes"; then
+  if test "x$msg_hal" = "xyes"; then
 
 pkg_failed=no
 { echo "$as_me:$LINENO: checking for HAL" >&5
@@ -17016,7 +17016,7 @@ if test $ac_cv_lib_hal_libhal_get_all_de
   have_hal_fast_init=yes
 fi
 
-    if test "x$have_hal_fast_init" == "xyes"; then
+    if test "x$have_hal_fast_init" = "xyes"; then
 
 cat >>confdefs.h <<\_ACEOF
 #define HAVE_HAL_FAST_INIT 1
@@ -17058,7 +17058,7 @@ if test "x$enable_cdda" != "xno"; then
   msg_cdda=yes
 fi
 
-  if test "x$msg_cdda" == "xyes"; then
+  if test "x$msg_cdda" = "xyes"; then
 
 pkg_failed=no
 { echo "$as_me:$LINENO: checking for CDDA" >&5
@@ -17418,7 +17418,7 @@ else
 fi
 
 
-  if test "x$msg_obexftp" == "xyes" -a "x$have_expat" == "xtrue"; then
+  if test "x$msg_obexftp" = "xyes" -a "x$have_expat" = "xtrue"; then
 
 pkg_failed=no
 { echo "$as_me:$LINENO: checking for OBEXFTP" >&5
@@ -17587,8 +17587,8 @@ fi
       ;;
   esac
 
-  if test "x$msg_gphoto2" == "xyes"; then
-    if test "x$use_gphoto2" == "xyes"; then
+  if test "x$msg_gphoto2" = "xyes"; then
+    if test "x$use_gphoto2" = "xyes"; then
 
 pkg_failed=no
 { echo "$as_me:$LINENO: checking for GPHOTO2" >&5
@@ -17744,7 +17744,7 @@ if test "x$enable_keyring" != "xno"; the
   msg_keyring=yes
 fi
 
-  if test "x$msg_keyring" == "xyes"; then
+  if test "x$msg_keyring" = "xyes"; then
 
 pkg_failed=no
 { echo "$as_me:$LINENO: checking for KEYRING" >&5
@@ -18337,7 +18337,7 @@ _ACEOF
 
 		msg_samba="yes"
                 if test x$with_samba_libs != x/usr/lib; then
-                        SAMBA_LIBS="-L$with_samba_libs -lsmbclient"
+                        SAMBA_LIBS="-L$with_samba_libs -lsmbclient -Wl,-R$with_samba_libs"
                 else
                 	SAMBA_LIBS="-lsmbclient"
                 fi
