diff options
| author | Peter Eisentraut | 2013-09-11 18:34:28 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2013-10-11 00:11:56 +0000 |
| commit | 5dd41f3574871757e6b8e2a16b3e736fee36c20d (patch) | |
| tree | 38a6c713a239c3818287f3eb5275c3d0b2779a55 /config/programs.m4 | |
| parent | 3dc543b3d84f048ca563af1bc98092f1e01e4a81 (diff) | |
Remove maintainer-check target, fold into normal build
make maintainer-check was obscure and rarely called in practice, and
many breakages were missed. Fold everything that make maintainer-check
used to do into the normal build. Specifically:
- Call duplicate_oids when genbki.pl is called.
- Check for tabs in SGML files when the documentation is built.
- Run msgfmt with the -c option during the regular build. Add an
additional configure check to see whether we are using the GNU
version. (make maintainer-check probably used to fail with non-GNU
msgfmt.)
Keep maintainer-check as around as phony target for the time being in
case anyone is calling it. But it won't do anything anymore.
Diffstat (limited to 'config/programs.m4')
| -rw-r--r-- | config/programs.m4 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/programs.m4 b/config/programs.m4 index c70a0c2f7be..fd3a9a4791a 100644 --- a/config/programs.m4 +++ b/config/programs.m4 @@ -197,6 +197,11 @@ AC_DEFUN([PGAC_CHECK_GETTEXT], if test -z "$MSGFMT"; then AC_MSG_ERROR([msgfmt is required for NLS]) fi + AC_CACHE_CHECK([for msgfmt flags], pgac_cv_msgfmt_flags, +[if test x"$MSGFMT" != x"" && "$MSGFMT" --version 2>&1 | grep "GNU" >/dev/null; then + pgac_cv_msgfmt_flags=-c +fi]) + AC_SUBST(MSGFMT_FLAGS, $pgac_cv_msgfmt_flags) AC_CHECK_PROGS(MSGMERGE, msgmerge) AC_CHECK_PROGS(XGETTEXT, xgettext) ])# PGAC_CHECK_GETTEXT |
