From: Garrett Wollman Date: Thu, 28 Jul 2011 05:04:59 +0000 (-0400) Subject: configure: spell the "=" operator to test(1) correctly X-Git-Tag: upstream/1.8.0_pre1^2~3477 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=74e8bec7bec8b754498d9006ee6e7db3d105c0d7;p=packages%2Fo%2Fopenafs.git configure: spell the "=" operator to test(1) correctly Equality in the test(1) utility is represented by "=", not "==". Some, but not all, versions of test accept the latter as an extension. Change-Id: I25380f77e1c621965e0610318c9793874154cf15 Reviewed-on: http://gerrit.openafs.org/5106 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/acinclude.m4 b/acinclude.m4 index 4764f5eb7..1221e66ca 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -253,7 +253,7 @@ AC_ARG_WITH([docbook-stylesheets], [location of DocBook stylesheets (default is to search a set of likely paths)]), [DOCBOOK_STYLESHEETS="$withval"], OPENAFS_SEARCH_DIRLIST([DOCBOOK_STYLESHEETS], [/usr/share/xml/docbook/stylesheet/nwalsh/current /usr/share/xml/docbook/stylesheet/nwalsh /usr/share/xml/docbook/xsl-stylesheets /usr/share/sgml/docbook/docbook-xsl-stylesheets /usr/share/sgml/docbook/xsl-stylesheets /usr/share/docbook-xsl /usr/share/sgml/docbkxsl /usr/local/share/xsl/docbook /sw/share/xml/xsl/docbook-xsl /opt/local/share/xsl/docbook-xsl], [$HTML_XSL]) - if test "x$DOCBOOK_STYLESHEETS" == "x"; then + if test "x$DOCBOOK_STYLESHEETS" = "x"; then AC_WARN([Docbook stylesheets not found; some documentation can't be built]) fi) diff --git a/src/cf/search-dirlist.m4 b/src/cf/search-dirlist.m4 index 5b0f84fd3..6e11098ba 100644 --- a/src/cf/search-dirlist.m4 +++ b/src/cf/search-dirlist.m4 @@ -7,7 +7,7 @@ AC_DEFUN([OPENAFS_SEARCH_DIRLIST], break fi done - if test x"$openafs_dirpath" == xno; then + if test x"$openafs_dirpath" = xno; then [$1]= else [$1]=$openafs_dirpath