Skip to content

Commit

Permalink
configure: do not fail if gettext is not found
Browse files Browse the repository at this point in the history
If gettext is not installed then just do not use it.
  • Loading branch information
LudovicRousseau committed Sep 30, 2023
1 parent a4725e2 commit 1f3024e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ AC_ARG_ENABLE(gettext,
if test "x$use_gettext" != xno ; then
AC_CHECK_PROG([found_msgfmt], [msgfmt], [yes])
if test x$found_msgfmt != xyes; then
AC_MSG_ERROR([msgfmt not found. Please install gettext or use --disable-gettext])
AC_MSG_WARN([msgfmt not found. Please install gettext])
use_gettext=no
fi
fi
AM_CONDITIONAL(WITH_GETTEXT, test "${use_gettext}" != "no")
Expand Down

0 comments on commit 1f3024e

Please sign in to comment.