From: Peter Pentchev Date: Sun, 12 Sep 2010 20:47:55 +0000 (+0300) Subject: Fix a bashism: test a = b is more portable than ==. X-Git-Tag: curl-7_21_2~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5393f08df852df163822bbceae09a0878ca12198;p=thirdparty%2Fcurl.git Fix a bashism: test a = b is more portable than ==. --- diff --git a/configure.ac b/configure.ac index 76c151efdc..ada471814f 100644 --- a/configure.ac +++ b/configure.ac @@ -53,7 +53,7 @@ CONFIGURE_OPTIONS="\"$ac_configure_args\"" AC_SUBST(CONFIGURE_OPTIONS) CURL_CFLAG_EXTRAS="" -if test X"$want_werror" == Xyes; then +if test X"$want_werror" = Xyes; then CURL_CFLAG_EXTRAS="-Werror" fi AC_SUBST(CURL_CFLAG_EXTRAS)