aboutsummaryrefslogtreecommitdiff
path: root/m4/curl-compilers.m4
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-10-17 17:11:11 +0000
committerYang Tse <yangsita@gmail.com>2008-10-17 17:11:11 +0000
commit07c3aaeea116603f58e8ebbcf8f4f7a39e761ef7 (patch)
tree356dca10b2d381d9dd822afcb61788d73cf7e83f /m4/curl-compilers.m4
parent8254bbae56c27add4cb6217e2f1478817cd9f9ee (diff)
fix missing double-quotes
Diffstat (limited to 'm4/curl-compilers.m4')
-rw-r--r--m4/curl-compilers.m412
1 files changed, 6 insertions, 6 deletions
diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4
index 0ccba96a1..1b19c59c3 100644
--- a/m4/curl-compilers.m4
+++ b/m4/curl-compilers.m4
@@ -386,7 +386,7 @@ dnl not reliable on ancient GNUC versions.
AC_DEFUN([CURL_CONVERT_INCLUDE_TO_ISYSTEM], [
AC_REQUIRE([CURL_SHFUNC_SQUEEZE])dnl
tmp_has_include="no"
- tmp_chg_FLAGS=$CFLAGS
+ tmp_chg_FLAGS="$CFLAGS"
for word1 in $tmp_chg_FLAGS; do
case "$word1" in
-I*)
@@ -395,13 +395,13 @@ AC_DEFUN([CURL_CONVERT_INCLUDE_TO_ISYSTEM], [
esac
done
if test "$tmp_has_include" = "yes"; then
- tmp_chg_FLAGS=`echo $tmp_chg_FLAGS | sed 's/^-I/ -isystem /g'`
- tmp_chg_FLAGS=`echo $tmp_chg_FLAGS | sed 's/ -I/ -isystem /g'`
+ tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'`
+ tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'`
CFLAGS="$tmp_chg_FLAGS"
squeeze CFLAGS
fi
tmp_has_include="no"
- tmp_chg_FLAGS=$CPPFLAGS
+ tmp_chg_FLAGS="$CPPFLAGS"
for word1 in $tmp_chg_FLAGS; do
case "$word1" in
-I*)
@@ -410,8 +410,8 @@ AC_DEFUN([CURL_CONVERT_INCLUDE_TO_ISYSTEM], [
esac
done
if test "$tmp_has_include" = "yes"; then
- tmp_chg_FLAGS=`echo $tmp_chg_FLAGS | sed 's/^-I/ -isystem /g'`
- tmp_chg_FLAGS=`echo $tmp_chg_FLAGS | sed 's/ -I/ -isystem /g'`
+ tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'`
+ tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'`
CPPFLAGS="$tmp_chg_FLAGS"
squeeze CPPFLAGS
fi