Another prospective fix for the build bot
[mono.git] / acinclude.m4
index 56d89634efd8c0157559fd0155b38e3be01642aa..d621bfcd81c4acf490f0f616c9fcbc011c572364 100644 (file)
@@ -150,14 +150,14 @@ __DOLTLIBTOOL__EOF__
     cat <<'__DOLTLIBTOOL__EOF__' >>doltlibtool
 top_builddir_slash="${0%%doltlibtool}"
 : ${top_builddir_slash:=./}
-args=()
+args=
 modeok=false
 tagok=false
 for arg in "$[]@"; do
     case "$arg" in
         --mode=compile) modeok=true ;;
         --tag=CC|--tag=CXX) tagok=true ;;
-        *) args+=("$arg") ;;
+        *) args="$args $arg" ;;
     esac
 done
 if $modeok && $tagok ; then