1 --- gnutls-2.8.5/lib/m4/lib-link.m4.orig 2009-11-02 11:34:50.000000000 +0100
2 +++ gnutls-2.8.5/lib/m4/lib-link.m4 2010-01-31 19:56:56.126778128 +0100
5 if test "X$found_dir" != "X"; then
7 + if test "X$found_dir" = "X/usr/$acl_libdirstem"; then
8 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
10 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
12 if test "X$found_so" != "X"; then
13 dnl Linking with a shared library. We attempt to hardcode its
14 dnl directory into the executable's runpath, unless it's the
15 --- gnutls-2.12.0/m4/lib-link.m4.orig 2008-05-17 07:44:04.000000000 +0200
16 +++ gnutls-2.12.0/m4/lib-link.m4 2011-04-02 11:29:18.159546509 +0200
19 if test "X$found_dir" != "X"; then
20 dnl Found the library.
21 + if test "X$found_dir" = "X/usr/$acl_libdirstem"; then
22 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
24 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
26 if test "X$found_so" != "X"; then
27 dnl Linking with a shared library. We attempt to hardcode its
28 dnl directory into the executable's runpath, unless it's the
29 --- gnutls-2.12.0/libextra/gl/m4/lib-link.m4.orig 2011-03-02 18:39:14.000000000 +0100
30 +++ gnutls-2.12.0/libextra/gl/m4/lib-link.m4 2011-04-02 11:29:43.620681483 +0200
33 if test "X$found_dir" != "X"; then
34 dnl Found the library.
35 + if test "X$found_dir" = "X/usr/$acl_libdirstem"; then
36 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
38 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
40 if test "X$found_so" != "X"; then
41 dnl Linking with a shared library. We attempt to hardcode its
42 dnl directory into the executable's runpath, unless it's the