* automake.in (handle_texinfo_helper): Find mdate-sh in current
authorTom Tromey <tromey@redhat.com>
Thu, 24 May 2001 06:23:20 +0000 (06:23 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 24 May 2001 06:23:20 +0000 (06:23 +0000)
directory in some situations.

ChangeLog
automake.in

index a461aeb..e7ed35f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2001-05-24  Tom Tromey  <tromey@redhat.com>
 
+       * automake.in (handle_texinfo_helper): Find mdate-sh in current
+       directory in some situations.
+
        * automake.in (generate_makefile): Better explanation for ansi2knr
        fix.
 
index a86be0b..d881ce5 100755 (executable)
@@ -2855,8 +2855,17 @@ sub handle_texinfo_helper
            my $vti = ($done ? $done : 'vti');
            ++$done;
 
-           &require_conf_file_with_line ('info_TEXINFOS', $FOREIGN,
-                                         'mdate-sh');
+           # This is ugly, but it is our historical practice.
+           if ($config_aux_dir_set_in_configure_in)
+           {
+               &require_conf_file_with_line ('info_TEXINFOS', $FOREIGN,
+                                             'mdate-sh');
+           }
+           else
+           {
+               &require_file_with_line ('info_TEXINFOS', $FOREIGN,
+                                        'mdate-sh');
+           }
 
            my $conf_dir;
            if ($config_aux_dir_set_in_configure_in)
@@ -2907,7 +2916,6 @@ sub handle_texinfo_helper
     {
         $texinfodir = '$(top_srcdir)/../texinfo';
        &define_variable ('TEXINFO_TEX', "$texinfodir/texinfo.tex");
-
     }
     elsif ($config_aux_dir_set_in_configure_in)
     {