From 5abf90cb01e76570c36635511522966ce3f98b6e Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 12 Feb 1996 22:00:08 +0000 Subject: [PATCH] Added intl warnings back --- ChangeLog | 1 + automake.in | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog index cbcb87d7..8731ad81 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ Mon Feb 12 10:39:28 1996 Tom Tromey * automake.in (scan_configure): Ignore "\" in AC_OUTPUT line. Test acouttbs.test. + (handle_subdirs): Restored intl, po warnings. * automake.in (scan_configure): Delete everything after "," or ")". Test acoutnoq.test. diff --git a/automake.in b/automake.in index 856124c0..2f56423e 100755 --- a/automake.in +++ b/automake.in @@ -1097,6 +1097,19 @@ sub handle_subdirs return; } + if ($seen_gettext) + { + &am_error + ("ud_GNU_GETTEXT in configure.in but \`\@POSUB\@' not in SUBDIRS") + if $contents{'SUBDIRS'} !~ /\b\@POSUB\@\b/; + &am_error + ("ud_GNU_GETTEXT in configure.in but \`\@INTLSUB\@' not in SUBDIRS") + if $contents{'SUBDIRS'} !~ /\b\@INTLSUB\@\b/; + + # FIXME consider warning if 'po' or 'intl' appear; they should + # always be substituted via configure. + } + &require_file ($NORMAL, 'ABOUT-NLS') if $seen_gettext; return if ! defined $contents{'SUBDIRS'}; -- 2.43.5