From 43c2cf4edb497e325df35e7c997d36e7a6875f47 Mon Sep 17 00:00:00 2001
From: Yang Tse <yangsita@gmail.com>
Date: Thu, 9 Oct 2008 13:11:10 +0000
Subject: [PATCH] remove extra whitespace from string in SGI C check

---
 ares/m4/cares-compilers.m4 | 6 +++---
 m4/curl-compilers.m4       | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/ares/m4/cares-compilers.m4 b/ares/m4/cares-compilers.m4
index 8d0c069e63..eaf0cc2162 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 f15e9fb980..469801e69c 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
-- 
GitLab