fix VAR_STRIP
authorYang Tse <yangsita@gmail.com>
Tue, 7 Oct 2008 16:53:46 +0000 (16:53 +0000)
committerYang Tse <yangsita@gmail.com>
Tue, 7 Oct 2008 16:53:46 +0000 (16:53 +0000)
ares/m4/cares-compilers.m4
m4/curl-compilers.m4

index 8af7063..67bc904 100644 (file)
@@ -557,5 +557,5 @@ AC_DEFUN([CARES_VAR_STRIP], [
     fi
   done
   dnl squeeze whitespace out of result
-  [$1]=`eval echo $[$1]`
+  [$1]=`eval echo $ac_var_stripped`
 ])
index 1cff5be..9089070 100644 (file)
@@ -549,5 +549,5 @@ AC_DEFUN([CURL_VAR_STRIP], [
     fi
   done
   dnl squeeze whitespace out of result
-  [$1]=`eval echo $[$1]`
+  [$1]=`eval echo $ac_var_stripped`
 ])