From: Yang Tse Date: Thu, 9 Oct 2008 13:11:10 +0000 (+0000) Subject: remove extra whitespace from string in SGI C check X-Git-Tag: curl-7_19_1~199 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=43c2cf4edb497e325df35e7c997d36e7a6875f47;p=curl remove extra whitespace from string in SGI C check --- diff --git a/ares/m4/cares-compilers.m4 b/ares/m4/cares-compilers.m4 index 8d0c069e6..eaf0cc216 100644 --- a/ares/m4/cares-compilers.m4 +++ b/ares/m4/cares-compilers.m4 @@ -224,12 +224,12 @@ AC_DEFUN([CARES_CHECK_COMPILER_SGI], [ CURL_CHECK_DEF([_COMPILER_VERSION], [], [silent]) CURL_CHECK_DEF([__GNUC__], [], [silent]) CURL_CHECK_DEF([__sgi], [], [silent]) - if test "$curl_cv_have_def___GNUC__ " = "no"; then + if test "$curl_cv_have_def___GNUC__" = "no"; then if test "$curl_cv_have_def__SGI_COMPILER_VERSION" = "yes"; then compiler_id="SGIC" fi - if test "$curl_cv_have_def__COMPILER_VERSION " = "yes" && - test "$curl_cv_have_def___sgi " = "yes"; then + if test "$curl_cv_have_def__COMPILER_VERSION" = "yes" && + test "$curl_cv_have_def___sgi" = "yes"; then compiler_id="SGIC" fi fi diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4 index f15e9fb98..469801e69 100644 --- a/m4/curl-compilers.m4 +++ b/m4/curl-compilers.m4 @@ -230,12 +230,12 @@ AC_DEFUN([CURL_CHECK_COMPILER_SGI], [ CURL_CHECK_DEF([_COMPILER_VERSION], [], [silent]) CURL_CHECK_DEF([__GNUC__], [], [silent]) CURL_CHECK_DEF([__sgi], [], [silent]) - if test "$curl_cv_have_def___GNUC__ " = "no"; then + if test "$curl_cv_have_def___GNUC__" = "no"; then if test "$curl_cv_have_def__SGI_COMPILER_VERSION" = "yes"; then compiler_id="SGIC" fi - if test "$curl_cv_have_def__COMPILER_VERSION " = "yes" && - test "$curl_cv_have_def___sgi " = "yes"; then + if test "$curl_cv_have_def__COMPILER_VERSION" = "yes" && + test "$curl_cv_have_def___sgi" = "yes"; then compiler_id="SGIC" fi fi