Eric Engestrom <eric.engest...@imgtec.com> writes: >> + echo " `$1`" | sed -E \ >> + -e 's/[[[:space:]]]+-m[[^[:space:]]]*//g' \ > > These only work for me if I remove the outermost `[]` on each line, > leaving one pair around `:space:` and one for the set. > The above line, for instance, becomes: > -e 's/[[:space:]]+-m[^[:space:]]*//g' \ > > Are those outer brackets necessary on *BSD? I don't have one available > to test this myself.
configure.ac is written in autoconf, so some characters have to be quoted. `[' and `]' are quote markers, so one layer is stripped. Do you want me to quote the whole function (including whitespace) instead? https://www.gnu.org/software/autoconf/manual/autoconf.html#M4-Quotation _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev