From: Michael Osipov <1983-01-06@gmx.net> Date: Fri, 15 Aug 2014 12:20:10 +0000 (+0200) Subject: Fix test syntax in configure.in X-Git-Tag: krb5-1.14-alpha1~266 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fefd465614f11f374f5ff183e6eb6cbc1b550de5;p=thirdparty%2Fkrb5.git 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@mit.edu: clarified commit message] ticket: 7992 (new) target_version: 1.13 tags: pullup --- diff --git a/src/configure.in b/src/configure.in index 48786e048e..621f105ca0 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"