krb5 commit [krb5-1.13]: Fix test syntax in configure.in

Tom Yu tlyu at mit.edu
Thu Aug 21 18:11:02 EDT 2014


https://github.com/krb5/krb5/commit/8de3b58b93e537a9ffda4c07087cd4a7bf99fe23
commit 8de3b58b93e537a9ffda4c07087cd4a7bf99fe23
Author: Michael Osipov <1983-01-06 at gmx.net>
Date:   Fri Aug 15 14:20:10 2014 +0200

    Fix test syntax in configure.in
    
    Commits 1e4bdcfe and 8df1965d used the wrong test equality operator.
    Some versions of test allow == for equality, but others (such as the
    HP-UX version) do not.  Use a single = for correctness.
    
    [ghudson at mit.edu: clarified commit message]
    
    (cherry picked from commit fefd465614f11f374f5ff183e6eb6cbc1b550de5)
    
    ticket: 7992
    version_fixed: 1.13
    status: resolved

 src/configure.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/configure.in b/src/configure.in
index 48786e0..621f105 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -1,14 +1,14 @@
 K5_AC_INIT([aclocal.m4])
 
 # If $runstatedir isn't set by autoconf (<2.70), set it manually.
-if test x"$runstatedir" == x; then
+if test x"$runstatedir" = x; then
   runstatedir=$localstatedir/run
 fi
 AC_SUBST(runstatedir)
 
 # Don't make duplicate profile path entries for /etc/krb5.conf if
 # $sysconfdir is /etc
-if test "$sysconfdir" == /etc; then
+if test "$sysconfdir" = /etc; then
   SYSCONFCONF=""
 else
   SYSCONFCONF=":${sysconfdir}/krb5.conf"


More information about the cvs-krb5 mailing list