]> granicus.if.org Git - curl/commitdiff
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 8af70637b573de68f57fb5647a6e2c551c49b161..67bc904ba589d402a8db11fb661a17ee668fba97 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 1cff5be010d9be02dd2300113810e26c98307ae6..90890700fbca73febbcf576bf5092a74ebc54bfc 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`
 ])