Fix for bug #1853110: Error in configure on MacOS X (head -c is not portable, sed hopefully is)

svn-id: r29902
This commit is contained in:
Max Horn 2007-12-18 22:30:25 +00:00
parent aa62d6355a
commit 62a344bbed

2
configure vendored
View file

@ -367,7 +367,7 @@ engine_disable() {
# Show the configure help line for an option
option_help() {
option=`echo "--$(echo $1 | sed 's/_/-/g') " | head -c 23`
option=`echo "--$(echo $1 | sed 's/_/-/g') " | sed "s/\(.\{23\}\).*/\1/"`
echo " ${option} ${2}"
}