+2001-02-25 Akim Demaille <akim@epita.fr>
+
+ * automake.in (&handle_gettext): Simplify redundant `if'.
+ Used &variable_value, don't read %contents directly.
+
2001-02-25 Akim Demaille <akim@epita.fr>
* automake.in ($install_recursive): Remove, replaced with calls to
("AM_GNU_GETTEXT used but SUBDIRS not defined");
return;
}
+ &am_line_error ('SUBDIRS',
+ "AM_GNU_GETTEXT used but \`po' not in SUBDIRS")
+ if &variable_value ('SUBDIRS') !~ /\bpo\b/;
+ &am_line_error ('SUBDIRS',
+ "AM_GNU_GETTEXT used but \`intl' not in SUBDIRS")
+ if &variable_value ('SUBDIRS') !~ /\bintl\b/;
&require_file_with_conf_line ($ac_gettext_line, $GNU, 'ABOUT-NLS');
- if (&variable_defined ('SUBDIRS'))
- {
- &am_line_error
- ('SUBDIRS',
- "AM_GNU_GETTEXT in \`$configure_ac' but \`po' not in SUBDIRS")
- if $contents{'SUBDIRS'} !~ /\bpo\b/;
- &am_line_error
- ('SUBDIRS',
- "AM_GNU_GETTEXT in \`$configure_ac' but \`intl' not in SUBDIRS")
- if $contents{'SUBDIRS'} !~ /\bintl\b/;
- }
-
# Ensure that each language in ALL_LINGUAS has a .po file, and
# each po file is mentioned in ALL_LINGUAS.
if ($seen_linguas)