build: verify that 'pkg.m4' is available when building from git
This addresses https://savannah.gnu.org/bugs/?44630. Reported-by: Peter Passchier <peter@passchier.net>master
parent
cad8493e24
commit
7ca20711a2
|
@ -68,9 +68,14 @@ else
|
||||||
fi
|
fi
|
||||||
AM_CONDITIONAL(BUILDING_FROM_GIT, test x$from_git = xyes)
|
AM_CONDITIONAL(BUILDING_FROM_GIT, test x$from_git = xyes)
|
||||||
|
|
||||||
dnl Check for gettext when building from git.
|
dnl Checks for pkg-config and gettext when building from git.
|
||||||
|
|
||||||
if test x$from_git = xyes; then
|
if test x$from_git = xyes; then
|
||||||
|
if test ! -f $(aclocal --print-ac-dir)/pkg.m4; then
|
||||||
|
AC_MSG_ERROR([
|
||||||
|
*** The pkg.m4 macros are missing. ***
|
||||||
|
*** The pkg-config package needs to be installed when building from git. ***])
|
||||||
|
fi
|
||||||
if test "$ac_cv_path_MSGFMT" = ":"; then
|
if test "$ac_cv_path_MSGFMT" = ":"; then
|
||||||
AC_MSG_ERROR([
|
AC_MSG_ERROR([
|
||||||
*** The msgfmt program is missing. ***
|
*** The msgfmt program is missing. ***
|
||||||
|
|
Loading…
Reference in New Issue