examples: t-test.sps fixed make process to include in distribution
[pspp] / configure.ac
index b2009b5a0c0ff9bdf2951c517723d2ab2c856ea6..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
@@ -60,7 +65,7 @@ fi
 
 dnl Xmllint is used in the rules to build the documentation.  It is not actually necessary,
 dnl but is used for post-build consistency checks.  Thus, non-developers can live without it.
-dnl However for it to be usefull, it needs to be a certain version and have certain features.
+dnl However for it to be useful, it needs to be a certain version and have certain features.
 dnl The macros below check that it the xmllint available is up to scratch.  If it isn't
 dnl then a dummy /bin/echo is subsituted instead.
 
@@ -311,7 +316,7 @@ PSPP_READLINE
 dnl Checks for header files.
 AC_CHECK_HEADERS([sys/wait.h fpu_control.h ieeefp.h fenv.h pwd.h])
 
-dnl Some systems dont have SIGWINCH
+dnl Some systems don't have SIGWINCH
 AC_CHECK_DECLS([SIGWINCH], [], [],
           [#include <signal.h>
           /* NetBSD declares sys_siglist in unistd.h.  */