[27494] in CVS-changelog-for-Kerberos-V5

home help back first fref pref prev next nref lref last post

krb5 commit [krb5-1.10]: Fail during configure if unable to find ar

daemon@ATHENA.MIT.EDU (Tom Yu)
Fri Jan 11 15:32:20 2013

Date: Fri, 11 Jan 2013 15:32:11 -0500
From: Tom Yu <tlyu@mit.edu>
Message-Id: <201301112032.r0BKWBnN030022@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu

https://github.com/krb5/krb5/commit/8d429036dac9dc4287a095fe8dfcd1ef782b9b5f
commit 8d429036dac9dc4287a095fe8dfcd1ef782b9b5f
Author: Tom Yu <tlyu@mit.edu>
Date:   Wed Feb 22 19:27:56 2012 +0000

    Fail during configure if unable to find ar
    
    Fail during configure time if the configure script can't locate the
    "ar" program, instead of producing a delayed failure during build time
    by running the "false" command.  Some Solaris releases have ar in
    /usr/ccs/bin, which is not in the default path for some users.
    
    (cherry picked from commit 2c990e6418cd7cee7ca178a3175b07ed6a01ffae)
    
    ticket: 7540 (new)
    version_fixed: 1.10.4
    status: resolved

 src/aclocal.m4 |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/aclocal.m4 b/src/aclocal.m4
index 68ef439..043e7d9 100644
--- a/src/aclocal.m4
+++ b/src/aclocal.m4
@@ -1014,6 +1014,9 @@ AC_REQUIRE([AC_PROG_ARCHIVE])dnl
 AC_REQUIRE([AC_PROG_ARCHIVE_ADD])dnl
 AC_REQUIRE([AC_PROG_INSTALL])dnl
 AC_CHECK_PROG(AR, ar, ar, false)
+if test "$AR" = "false"; then
+  AC_MSG_ERROR([ar not found in PATH])
+fi
 AC_CHECK_PROG(PERL, perl, perl, false)
 if test "$ac_cv_prog_PERL" = "false"; then
   AC_MSG_ERROR(Perl is now required for Kerberos builds.)
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5

home help back first fref pref prev next nref lref last post