[nfs-utils,1/1] autoconf: Add Debian paths for Kerberos v5 with GSS
diff mbox series

Message ID 20191117183033.11382-1-petr.vorel@gmail.com
State New
Headers show
Series
  • [nfs-utils,1/1] autoconf: Add Debian paths for Kerberos v5 with GSS
Related show

Commit Message

Petr Vorel Nov. 17, 2019, 6:30 p.m. UTC
Debian stores it's shared libraries in
/usr/lib/$(uname -m)-linux-gnu

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
 aclocal/kerberos5.m4 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Steve Dickson Nov. 18, 2019, 2:03 p.m. UTC | #1
On 11/17/19 1:30 PM, Petr Vorel wrote:
> Debian stores it's shared libraries in
> /usr/lib/$(uname -m)-linux-gnu
> 
> Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
> ---
>  aclocal/kerberos5.m4 | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
Committed.... (tag: nfs-utils-2-4-3-rc1)

steved.
> 
> diff --git a/aclocal/kerberos5.m4 b/aclocal/kerberos5.m4
> index faa58049..bf0e88bc 100644
> --- a/aclocal/kerberos5.m4
> +++ b/aclocal/kerberos5.m4
> @@ -42,7 +42,9 @@ AC_DEFUN([AC_KERBEROS_V5],[
>                     -f $dir/lib32/libgssapi_krb5.a -o \
>                     -f $dir/lib32/libgssapi_krb5.so -o \
>                     -f $dir/lib64/libgssapi_krb5.a -o \
> -                   -f $dir/lib64/libgssapi_krb5.so \) ; then
> +                   -f $dir/lib64/libgssapi_krb5.so -o \
> +                   -f $dir/lib/$(uname -m)-linux-gnu/libgssapi_krb5.a -o \
> +                   -f $dir/lib/$(uname -m)-linux-gnu/libgssapi_krb5.so \) ; then
>           AC_DEFINE(HAVE_KRB5, 1, [Define this if you have MIT Kerberos libraries])
>           KRBDIR="$dir"
>           gssapi_lib=gssapi_krb5
>

Patch
diff mbox series

diff --git a/aclocal/kerberos5.m4 b/aclocal/kerberos5.m4
index faa58049..bf0e88bc 100644
--- a/aclocal/kerberos5.m4
+++ b/aclocal/kerberos5.m4
@@ -42,7 +42,9 @@  AC_DEFUN([AC_KERBEROS_V5],[
                    -f $dir/lib32/libgssapi_krb5.a -o \
                    -f $dir/lib32/libgssapi_krb5.so -o \
                    -f $dir/lib64/libgssapi_krb5.a -o \
-                   -f $dir/lib64/libgssapi_krb5.so \) ; then
+                   -f $dir/lib64/libgssapi_krb5.so -o \
+                   -f $dir/lib/$(uname -m)-linux-gnu/libgssapi_krb5.a -o \
+                   -f $dir/lib/$(uname -m)-linux-gnu/libgssapi_krb5.so \) ; then
          AC_DEFINE(HAVE_KRB5, 1, [Define this if you have MIT Kerberos libraries])
          KRBDIR="$dir"
          gssapi_lib=gssapi_krb5