Skip to content

Commit

Permalink
buildsys: fix bootstrapped build on Solaris and systems with LC_ALL != C
Browse files Browse the repository at this point in the history
Signed-off-by: Yury V. Zaytsev <[email protected]>
  • Loading branch information
zyv committed Oct 17, 2024
1 parent 54a4c7d commit 2c76c23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ ${AUTORECONF:-autoreconf} --verbose --install --force -I m4 ${AUTORECONF_FLAGS}
rm -f INSTALL && ln -s doc/INSTALL .

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

0 comments on commit 2c76c23

Please sign in to comment.