* Escape the [ and ] characters in the sed call, otherwise autoconf

will eat them.
This commit is contained in:
Eelco Dolstra 2011-11-21 12:18:26 +00:00
parent 964399c079
commit a6abade8e8
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ AC_ARG_WITH(system, AC_HELP_STRING([--with-system=SYSTEM],
*)
# Strip the version number from names such as `gnu0.3',
# `darwin10.2.0', etc.
system="$machine_name-`echo $host_os | "$SED" -e's/[0-9.]*$//g'`";;
system="$machine_name-`echo $host_os | "$SED" -e's/@<:@0-9.@:>@*$//g'`";;
esac])
AC_MSG_RESULT($system)