1 --- gnome-vfs-2.24.4/configure.in~ 2011-08-03 12:25:39.350782218 +0200
2 +++ gnome-vfs-2.24.4/configure.in 2011-08-03 12:26:57.897782199 +0200
4 if test "x${with_samba_libs}" != "xno" -a "x${have_samba_includes}" != "xno"; then
5 LDFLAGS_save="$LDFLAGS"
7 - LDFLAGS="$LDFLAGS -L$with_samba_libs"
8 AC_CHECK_LIB(smbclient, smbc_new_context,samba_libs="yes", samba_libs="no")
9 LDFLAGS="$LDFLAGS_save"
10 if test "x${samba_libs}" != "xno"; then
11 AC_DEFINE(HAVE_SAMBA,, [Define to 1 if you have the samba 3.0 libraries])
13 if test x$with_samba_libs != x/usr/lib; then
14 - SAMBA_LIBS="-L$with_samba_libs -lsmbclient"
15 + SAMBA_LIBS="-lsmbclient"
17 SAMBA_LIBS="-lsmbclient"
21 dnl How can we test to see if we need to link to libld for sure??
22 dnl RedHat 6.2 seems to need to but Debian Woody doesn't
23 - LDFLAGS="$LDFLAGS -L$with_openssl_libs -lssl -lcrypto -ldl"
24 + LDFLAGS="$LDFLAGS -lssl -lcrypto -ldl"
25 AC_TRY_LINK_FUNC(SSL_read, openssl_libs="yes", openssl_libs="no")
26 LDFLAGS="$LDFLAGS_save"
29 AC_DEFINE(HAVE_OPENSSL, 1, [Define to 1 if OpenSSL is available])
31 if test x$with_openssl_libs != x/usr/lib; then
32 - OPENSSL_LIBS="-L$with_openssl_libs -lssl -lcrypto"
33 + OPENSSL_LIBS="-lssl -lcrypto"
35 OPENSSL_LIBS="-lssl -lcrypto"
38 [ --with-afs support -fstype afs],
39 [ AC_DEFINE(AFS, [], [Define if you have the Andrew File System])
40 CPPFLAGS="$CPPFLAGS -I/usr/afsws/include"
41 - LIBS="$LIBS -L/usr/afsws/lib -L/usr/afsws/lib/afs -lsys -lrx -llwp"])
42 + LIBS="$LIBS -lsys -lrx -llwp"])
44 AC_MSG_CHECKING(how to get filesystem type)