aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-10-07 16:53:46 +0000
committerYang Tse <yangsita@gmail.com>2008-10-07 16:53:46 +0000
commita6d93108884dc8140511bc0f2f001574fec1dbfc (patch)
treeecbb6f82b57db7cf8526f1c903724b9637712ca7
parentbfc09ac2114538921f0c0473690713d689e2f2cc (diff)
fix VAR_STRIP
-rw-r--r--ares/m4/cares-compilers.m42
-rw-r--r--m4/curl-compilers.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/ares/m4/cares-compilers.m4 b/ares/m4/cares-compilers.m4
index 8af70637b..67bc904ba 100644
--- a/ares/m4/cares-compilers.m4
+++ b/ares/m4/cares-compilers.m4
@@ -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`
])
diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4
index 1cff5be01..90890700f 100644
--- a/m4/curl-compilers.m4
+++ b/m4/curl-compilers.m4
@@ -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`
])