]> granicus.if.org Git - curl/commitdiff
fix missing double-quotes
authorYang Tse <yangsita@gmail.com>
Fri, 17 Oct 2008 17:11:11 +0000 (17:11 +0000)
committerYang Tse <yangsita@gmail.com>
Fri, 17 Oct 2008 17:11:11 +0000 (17:11 +0000)
ares/m4/cares-compilers.m4
m4/curl-compilers.m4

index 156ff632fbd5b559df2bf2e7833601e4bfd68f1f..10a89e7cd27e633973eff4d207d2011b2b095c2b 100644 (file)
@@ -380,7 +380,7 @@ dnl not reliable on ancient GNUC versions.
 AC_DEFUN([CARES_CONVERT_INCLUDE_TO_ISYSTEM], [
   AC_REQUIRE([CARES_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*)
@@ -389,13 +389,13 @@ AC_DEFUN([CARES_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*)
@@ -404,8 +404,8 @@ AC_DEFUN([CARES_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
index 0ccba96a16ba10b2369135917bf73cd04d1de385..1b19c59c3b43baed8478ab82e59df1fa61035ab5 100644 (file)
@@ -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