$NetBSD: patch-aa,v 1.8 2010/11/16 13:57:28 drochner Exp $ --- configure.orig 2010-05-27 04:02:32.000000000 +0000 +++ configure @@ -16082,7 +16082,7 @@ $as_echo "#define HAVE_SAMBA /**/" >>con 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 @@ -16532,7 +16532,7 @@ _ACEOF fi -if test "$ac_cv_func_statfs" = yes ; then +if test "$ac_cv_func_statvfs" != yes -a "$ac_cv_func_statfs" = yes ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of arguments to statfs()" >&5 $as_echo_n "checking number of arguments to statfs()... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext