Added autoconf check for msgfmt
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 20 Aug 2016 14:10:15 +0000 (16:10 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 20 Aug 2016 14:10:15 +0000 (16:10 +0200)
configure.ac

index c5b14901b2e74336bd11841f2611db0b38a31715..b553d2dcd0c2aa200f9c81049248f7dd0de9c903 100644 (file)
@@ -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