gettext fixlet
authorTom Tromey <tromey@redhat.com>
Fri, 11 Oct 1996 05:24:59 +0000 (05:24 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 11 Oct 1996 05:24:59 +0000 (05:24 +0000)
ChangeLog
THANKS
automake.in

index 8035d01..eeec7bf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 Thu Oct 10 16:12:38 1996  Tom Tromey  <tromey@cygnus.com>
 
+       * automake.in (handle_gettext): Moved check for SUBDIRS and
+       ABOUT-NLS here.
+
        * automake.in (handle_configure): Run mkinstalldirs under
        $(SHELL).
        (handle_yacc_lex_cxx): Run interlock under $(SHELL).
diff --git a/THANKS b/THANKS
index 3aeb619..e8a3301 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -26,6 +26,7 @@ Mark Galassi <rosalia@nis.lanl.gov>
 Markku Rossi <mtr@ngs.fi>
 Noah Friedman <friedman@gnu.ai.mit.edu>
 Nyul Laszlo <nyul@sol.cc.u-szeged.hu>
+Per Bothner <bothner@cygnus.com>
 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
 Thomas Morgan <tmorgan@pobox.com>
 Tom Tromey <tromey@cygnus.com>
index 586534e..81cf79d 100755 (executable)
@@ -1917,17 +1917,6 @@ sub handle_dependencies
 # Handle subdirectories.
 sub handle_subdirs
 {
-    if (! &variable_defined ('SUBDIRS'))
-    {
-       &am_conf_error
-           ("ud_GNU_GETTEXT in configure.in but SUBDIRS not defined")
-               if $seen_gettext && $relative_dir eq '.';
-       return;
-    }
-
-    &require_file_with_conf_line ($ac_gettext_line, $FOREIGN, 'ABOUT-NLS')
-       if $seen_gettext;
-
     return if ! &variable_defined ('SUBDIRS');
 
     # Make sure each directory mentioned in SUBDIRS actually exists.
@@ -2154,6 +2143,16 @@ sub handle_gettext
 {
     return if ! $seen_gettext || $relative_dir ne '.';
 
+    if (! &variable_defined ('SUBDIRS'))
+    {
+       &am_conf_error
+           ("ud_GNU_GETTEXT in configure.in but SUBDIRS not defined");
+       return;
+    }
+
+    &require_file_with_conf_line ($ac_gettext_line, $FOREIGN, 'ABOUT-NLS')
+       if $seen_gettext;
+
     if (&variable_defined ('SUBDIRS'))
     {
        &am_line_error