mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-22 04:41:21 +03:00
build: verify that 'msgfmt' is available when building from git
Fail during the configure phase when it is not, instead of failing cryptically during 'make'. This addresses https://savannah.gnu.org/bugs/?54265. Reported-by: Peter Passchier <peter@passchier.net>
This commit is contained in:
parent
f2adefb158
commit
fa454abb1c
@ -762,6 +762,14 @@ else
|
||||
fi
|
||||
AM_CONDITIONAL(BUILDING_FROM_GIT, test x$from_git = xyes)
|
||||
|
||||
if test x$from_git = xyes; then
|
||||
if test "$ac_cv_path_MSGFMT" = ":"; then
|
||||
AC_MSG_ERROR([
|
||||
*** The msgfmt program is missing. ***
|
||||
*** The gettext package needs to be installed when building from git. ***])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
doc/Makefile
|
||||
|
Loading…
Reference in New Issue
Block a user