Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.

Commit 1e21076

Browse files
committed
buildsys: fix bootstrapped build on Solaris and systems with LC_ALL != C
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
1 parent b5b2a51 commit 1e21076

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

autogen.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ ${AUTORECONF:-autoreconf} --verbose --install --force -I m4 ${AUTORECONF_FLAGS}
1414
rm -f INSTALL && ln -s doc/INSTALL .
1515

1616
# Generate po/POTFILES.in
17-
if ! xgettext -h 2>&1 | grep -e '--keyword=' >/dev/null ; then
17+
if ! xgettext -h 2>&1 | grep -e '--keyword' >/dev/null ; then
1818
echo "gettext is unable to extract translations, set XGETTEXT to GNU gettext!" >&2
19+
touch po/POTFILES.in
1920
else
2021
${XGETTEXT:-xgettext} --keyword=_ --keyword=N_ --keyword=Q_ --output=- \
2122
`find . -name '*.[ch]'` | ${SED-sed} -ne '/^#:/{s/#://;s/:[0-9]*/\

0 commit comments

Comments
 (0)