]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Fix test syntax in configure.in
authorMichael Osipov <1983-01-06@gmx.net>
Fri, 15 Aug 2014 12:20:10 +0000 (14:20 +0200)
committerGreg Hudson <ghudson@mit.edu>
Fri, 15 Aug 2014 14:37:10 +0000 (10:37 -0400)
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@mit.edu: clarified commit message]

ticket: 7992 (new)
target_version: 1.13
tags: pullup

src/configure.in

index 48786e048ea53d28803c005dace3fd3f5036becd..621f105ca0c4d65ff2e0bc6908a345cbc5760958 100644 (file)
@@ -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"