From: Arun Persaud Date: Thu, 16 Oct 2014 04:28:36 +0000 (-0700) Subject: make all tests for strings in configure use the same scheme X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=3ef533ab09a91b4372e87b0ba8ad80bb053bbcff;p=xboard.git make all tests for strings in configure use the same scheme --- diff --git a/configure.ac b/configure.ac index e9071a9..65f463b 100644 --- a/configure.ac +++ b/configure.ac @@ -190,7 +190,7 @@ AC_ARG_ENABLE([osxapp], [enable_OSXAPP=$withval], [enable_OSXAPP="no"]) -AS_IF([test "x$enable_OSXAPP" = "xyes"], [ +AS_IF([test x"$enable_OSXAPP" = x"yes"], [ AC_PREFIX_DEFAULT([`pwd`/XBoard.app/Contents]) with_GTK="yes" enable_mimedb="no" @@ -204,10 +204,10 @@ AS_IF([test "x$enable_OSXAPP" = "xyes"], [ GAMEDATADIR='$(datadir)/xboard' ]) -AM_CONDITIONAL(OSX_APP, test x"$enable_OSXAPP" = "xyes") +AM_CONDITIONAL(OSX_APP, test x"$enable_OSXAPP" = x"yes") -AM_CONDITIONAL(ENABLE_UPDATE_MIMEDB, test x"$enable_mimedb" = "xyes") -if test x"$enable_mimedb" = "xyes"; then +AM_CONDITIONAL(ENABLE_UPDATE_MIMEDB, test x"$enable_mimedb" = x"yes") +if test x"$enable_mimedb" = x"yes"; then AC_PATH_PROG([XDG_MIME],[xdg-mime]) AC_SUBST(XDG_MIME) AC_PATH_PROG([XDG_DESKTOP_MENU],[xdg-desktop-menu]) @@ -516,7 +516,7 @@ AC_ARG_ENABLE( [zippy], [], [enable_zippy="no"]) -if test x"$enable_zippy" != xno; then +if test x"$enable_zippy" != x"no"; then AC_DEFINE(ZIPPY, 1,[should zippy be enabled]) else AC_DEFINE(ZIPPY, 0,[should zippy be enabled])