[26375] in CVS-changelog-for-Kerberos-V5
svn rev #25711: trunk/src/
daemon@ATHENA.MIT.EDU (tlyu@mit.edu)
Wed Feb 22 14:27:57 2012
Date: Wed, 22 Feb 2012 14:27:56 -0500
From: tlyu@mit.edu
Message-Id: <201202221927.q1MJRuJU005143@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
http://src.mit.edu/fisheye/changelog/krb5/?cs=25711
Commit By: tlyu
Log Message:
ticket: 7094
subject: 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.
Changed Files:
U trunk/src/aclocal.m4
Modified: trunk/src/aclocal.m4
===================================================================
--- trunk/src/aclocal.m4 2012-02-22 15:52:17 UTC (rev 25710)
+++ trunk/src/aclocal.m4 2012-02-22 19:27:56 UTC (rev 25711)
@@ -1014,6 +1014,9 @@
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