Adjust to new sed version

Change [:space] to [[:space]].
sed requires character classes to be inside square brackets.
As of sed 4.3, missing the brackets raises an error.
This commit is contained in:
Tommy Hofmann 2017-01-13 08:30:56 +01:00
parent 160fd98d1a
commit fdb590023f
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -24301,7 +24301,7 @@ esac
sed -n 's/^[ ]*MULFUNC_PROLOGUE(\(.*\))/\1/p' $tmp_file ;
sed -n 's/^[ ]*PROLOGUE(\([^,]*\).*)/\1/p' $tmp_file ;
sed -n 's/^;[ ]*PROLOGUE(\([^,]*\).*)/\1/p' $tmp_file ;
sed -n 's/[^G]*GLOBAL_FUNC[:space:]*\(.*\)/\1/p' $tmp_file ;
sed -n 's/[^G]*GLOBAL_FUNC[[:space:]]*\(.*\)/\1/p' $tmp_file ;
`
for gmp_tmp in $gmp_ep; do
cat >>confdefs.h <<_ACEOF

View File

@ -2595,7 +2595,7 @@ for tmp_fn in $gmp_mpn_functions; do
sed -n 's/^[ ]*MULFUNC_PROLOGUE(\(.*\))/\1/p' $tmp_file ;
sed -n 's/^[ ]*PROLOGUE(\([^,]*\).*)/\1/p' $tmp_file ;
sed -n 's/^;[ ]*PROLOGUE(\([^,]*\).*)/\1/p' $tmp_file ;
sed -n 's/[^G]*GLOBAL_FUNC[:space:]*\(.*\)/\1/p' $tmp_file ;
sed -n 's/[^G]*GLOBAL_FUNC[[:space:]]*\(.*\)/\1/p' $tmp_file ;
`]
for gmp_tmp in $gmp_ep; do
AC_DEFINE_UNQUOTED(HAVE_NATIVE_$gmp_tmp)