From: John Darrington Date: Sat, 20 Aug 2016 14:10:15 +0000 (+0200) Subject: Added autoconf check for msgfmt X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c240626753c89fbe81dd50611f84f4456197d4f;p=pspp Added autoconf check for msgfmt --- diff --git a/configure.ac b/configure.ac index c5b14901b2..b553d2dcd0 100644 --- a/configure.ac +++ b/configure.ac @@ -32,6 +32,11 @@ dnl Disable automatic po/ support, because PSPP provides its own po/ support. AC_PROVIDE([AM_PO_SUBDIRS]) AM_GNU_GETTEXT([external], [need-ngettext]) LIBS="$LIBINTL $LIBS" +AC_CHECK_PROGS([MSGFMT], [msgfmt]) +if test "x$MSGFMT" = x; then + PSPP_REQUIRED_PREREQ([msgfmt (is usually provided with gettext)]) +fi + dnl Checks for libraries. AC_SYS_LARGEFILE