autoconf: add another suggested package name for krb5 headers
authorSteve French <smfrench@gmail.com>
Mon, 9 Sep 2013 14:55:46 +0000 (09:55 -0500)
committerJeff Layton <jlayton@samba.org>
Mon, 9 Sep 2013 18:22:33 +0000 (14:22 -0400)
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@gmail.com>
configure.ac

index b5f7c4995787ee0cd10fd492f900baca04aa3768..c69ede45fe9111fea5b459557be39cbf12216fce 100644 (file)
@@ -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