configure: Fix the usage of sed on FreeBSD

FreeBSD requires the right brace to be preceded by a newline. Putting it
on the same line as other commands is not allowed.

https://bugzilla.gnome.org/show_bug.cgi?id=791989
This commit is contained in:
Ting-Wei Lan 2017-12-28 01:45:02 +08:00 committed by Jehan
parent aa2ce4b60d
commit bccaf39dc9
1 changed files with 2 additions and 1 deletions

View File

@ -2713,7 +2713,8 @@ m4_define([generate_po_makefile], [
"$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES" && \
sed -e "/^# This comment gets stripped out/ {" \
-e 'r $1/POTFILES' \
-e "d }" "$1/Makefile.in" >"$1/Makefile" && \
-e "d" -e "}" \
"$1/Makefile.in" >"$1/Makefile" && \
touch "$1/stamp-it"
])
])