From 1f3024e3e37581d6e8413df1fdc90e2024ff358d Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Sat, 23 Sep 2023 13:41:17 +0200 Subject: [PATCH] configure: do not fail if gettext is not found If gettext is not installed then just do not use it. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index a15f97c..38db39d 100644 --- a/configure.ac +++ b/configure.ac @@ -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")