]> git.pld-linux.org Git - packages/gnome-vfs2.git/blob - gnome-vfs2-ac-libs.patch
- fix building with glib >= 2.30
[packages/gnome-vfs2.git] / gnome-vfs2-ac-libs.patch
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
3 @@ -565,14 +565,13 @@
4    if test "x${with_samba_libs}" != "xno" -a "x${have_samba_includes}" != "xno"; then
5         LDFLAGS_save="$LDFLAGS"
6         
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])
12                 msg_samba="yes"
13                  if test x$with_samba_libs != x/usr/lib; then
14 -                        SAMBA_LIBS="-L$with_samba_libs -lsmbclient"
15 +                        SAMBA_LIBS="-lsmbclient"
16                  else
17                         SAMBA_LIBS="-lsmbclient"
18                  fi
19 @@ -641,7 +640,7 @@
20         [
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"
27         ])
28 @@ -649,7 +648,7 @@
29                 AC_DEFINE(HAVE_OPENSSL, 1, [Define to 1 if OpenSSL is available])
30                 msg_openssl="yes"
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"
34                  else
35                         OPENSSL_LIBS="-lssl -lcrypto"
36                  fi
37 @@ -1265,7 +1264,7 @@
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"])
43  
44  AC_MSG_CHECKING(how to get filesystem type)
45  fstype=no
This page took 0.057074 seconds and 3 git commands to generate.