* commit 'f96d07f4ec4193fb5293d7ac8f1324aac3c3ea07': configure: Add quotes around a variable which might be empty
Unified · Split
| @@ -6395,7 +6395,7 @@ fi · 6394 unmodified lines | |||
| 6395 | for pfx in "" host_; do | 6395 | for pfx in "" host_; do |
| 6396 | varname=${pfx%_}cc_type | 6396 | varname=${pfx%_}cc_type |
| 6397 | eval "type=\$$varname" | 6397 | eval "type=\$$varname" |
| 6398 | if [ $type = "msvc" ]; then | 6398 | if [ "$type" = "msvc" ]; then |
| 6399 | check_${pfx}cc <<EOF || add_${pfx}cflags -Dinline=__inline | 6399 | check_${pfx}cc <<EOF || add_${pfx}cflags -Dinline=__inline |
| 6400 | static inline int foo(int a) { return a; } | 6400 | static inline int foo(int a) { return a; } |
| 6401 | EOF | 6401 | EOF |