fix warning message on cifs-utils build - alternate package name for krb5.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 5c69761267eb54ce0d94f3a30c3ad015efd3a806
Author: Steve French <smfrench@xxxxxxxxx>
Date:   Mon Sep 9 09:55:46 2013 -0500

    [CIFS-UTILS] Add another suggested package name for krb5 headers

    Added an alternate package name for krb5 headers.

    Noticed the following suggestion asks for the wrong package (at least
    wrong for FC17)

    checking krb5.h presence... no
    checking for krb5.h... no
    checking krb5/krb5.h usability... no
    checking krb5/krb5.h presence... no
    checking for krb5/krb5.h... no
    configure: WARNING: krb5.h not found, consider installing
    krb5-libs-devel. Disabling cifs.upcall.

    [sfrench@w500smf cifs-utils]$ sudo yum install krb5-libs-devel
    Loaded plugins: langpacks, presto, refresh-packagekit
    No package krb5-libs-devel available.
    Error: Nothing to do
    [sfrench@w500smf cifs-utils]$ sudo yum install krb5-devel

    (installing krb5-devel worked, but not krb5-libs-devel for this version)

    Signed-off-by: Steve French <smfrench@xxxxxxxxx>

diff --git a/configure.ac b/configure.ac
index b5f7c49..c69ede4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -135,9 +135,9 @@ if test $enable_cifsupcall != "no"; then
  if test x$ac_cv_header_krb5_krb5_h != xyes ; then
  if test x$ac_cv_header_krb5_h != xyes ; then
  if test "$enable_cifsupcall" = "yes"; then
- AC_MSG_ERROR([krb5.h not found, consider installing krb5-libs-devel.])
+ AC_MSG_ERROR([krb5.h not found, consider installing krb5-devel or
krb5-libs-devel.])
  else
- AC_MSG_WARN([krb5.h not found, consider installing krb5-libs-devel.
Disabling cifs.upcall.])
+ AC_MSG_WARN([krb5.h not found, consider installing krb5-devel or
krb5-libs-devel. Disabling cifs.upcall.])
  enable_cifsupcall="no"
  fi
  fi

-- 
Thanks,

Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux