]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
makeinfo bug fixes
authorTom Tromey <tromey@redhat.com>
Wed, 16 Apr 1997 06:28:58 +0000 (06:28 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 16 Apr 1997 06:28:58 +0000 (06:28 +0000)
ChangeLog
Makefile.in
automake.in
m4/Makefile.in
tests/Makefile.in

index b4f27b45027bd6ea99c2643da6209340efccd770..b7c6444219c169da3bde8c310569a479f4e67df3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Wed Apr 16 00:05:47 1997  Tom Tromey  <tromey@cygnus.com>
+
+       * automake.in (define_program_variable): Added `override' argument.
+       (handle_texinfo): Pass override arg when defining MAKEINFO.
+       (AC_MISSING_PROG): New constant.
+       (scan_one_configure_file): Use it.
+
 Tue Apr 15 12:12:28 1997  Tom Tromey  <tromey@cygnus.com>
 
        * automake.in (handle_texinfo): In --cygnus mode, reserve
index 1d22e95b0c095dea438b315d79ce0e16efc8221a..8eeec7127aed61fda057d8fd6452e61cafd2e5f1 100644 (file)
@@ -49,6 +49,11 @@ POST_INSTALL = true
 NORMAL_UNINSTALL = true
 PRE_UNINSTALL = true
 POST_UNINSTALL = true
+ACLOCAL = @ACLOCAL@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+MAKEINFO = @MAKEINFO@
 PACKAGE = @PACKAGE@
 PERL = @PERL@
 TAR = @TAR@
@@ -85,7 +90,6 @@ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_CLEAN_FILES =  automake aclocal
 SCRIPTS =  $(bin_SCRIPTS) $(pkgdata_SCRIPTS)
 
-MAKEINFO = makeinfo
 TEXI2DVI = texi2dvi
 TEXINFO_TEX = $(srcdir)/texinfo.tex
 INFO_DEPS = automake.info
@@ -262,17 +266,17 @@ dist-info: $(INFO_DEPS)
          done; \
        done
 
-mostlyclean-info:
+mostlyclean-aminfo:
        rm -f automake.aux automake.cp automake.cps automake.dvi automake.fn \
          automake.fns automake.ky automake.log automake.pg \
          automake.toc automake.tp automake.tps automake.vr \
          automake.vrs automake.op automake.tr automake.cv
 
-clean-info:
+clean-aminfo:
 
-distclean-info:
+distclean-aminfo:
 
-maintainer-clean-info:
+maintainer-clean-aminfo:
        for i in $(INFO_DEPS); do rm -f `eval echo $$i*`; done
 
 install-pkgdataDATA: $(pkgdata_DATA)
@@ -471,8 +475,8 @@ maintainer-clean:  maintainer-clean-recursive maintainer-clean-am
 .PHONY: default uninstall-binSCRIPTS install-binSCRIPTS \
 uninstall-pkgdataSCRIPTS install-pkgdataSCRIPTS mostlyclean-vti \
 distclean-vti clean-vti maintainer-clean-vti install-info-am \
-uninstall-info mostlyclean-info distclean-info clean-info \
-maintainer-clean-info uninstall-pkgdataDATA install-pkgdataDATA \
+uninstall-info mostlyclean-aminfo distclean-aminfo clean-aminfo \
+maintainer-clean-aminfo uninstall-pkgdataDATA install-pkgdataDATA \
 install-data-recursive uninstall-data-recursive install-exec-recursive \
 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
 all-recursive check-recursive installcheck-recursive info-recursive \
index 40a57075cbbd0afb35b2e4b5a3ea3045f06578e4..025e88b0c0935f7022210a92f789995a8a419eff 100755 (executable)
@@ -51,6 +51,7 @@ $AM_INIT_AUTOMAKE_PATTERN = "AM_INIT_AUTOMAKE\\([^,]*,([^,)]+)[,)]";
 $AM_PACKAGE_VERSION_PATTERN = "^\\s*\\[?([^]\\s]+)\\]?\\s*\$";
 # Note that there is no AC_PATH_TOOL.  But we don't really care.
 $AC_CHECK_PATTERN = "AC_(CHECK|PATH)_(PROG|PROGS|TOOL)\\(\\[?(\\w+)";
+$AM_MISSING_PATTERN = "AM_MISSING_PROG\\(\\[?(\\w+)";
 # Just check for alphanumeric in AC_SUBST.  If you do AC_SUBST(5),
 # then too bad.
 $AC_SUBST_PATTERN = "AC_SUBST\\(\\[?(\\w+)";
@@ -1907,7 +1908,7 @@ sub handle_texinfo
     # Find these programs wherever they may lie.  Yes, this has
     # intimate knowledge of the structure of the texinfo distribution.
     &define_program_variable ('MAKEINFO', 'build', 'texinfo/makeinfo',
-                             '@MAKEINFO@');
+                             'makeinfo', '@MAKEINFO@');
     &define_program_variable ('TEXI2DVI', 'src', 'texinfo/util',
                              'texi2dvi');
 
@@ -3806,6 +3807,10 @@ sub scan_one_configure_file
        {
            $configure_vars{$3} = 1;
        }
+       if (/$AM_MISSING_PATTERN/o)
+       {
+           $configure_vars{$1} = 1;
+       }
 
        # Explicitly avoid ANSI2KNR -- we AC_SUBST that in protos.m4,
        # but later define it elsewhere.  This is pretty hacky.  We
@@ -4168,9 +4173,16 @@ sub define_configure_variable
 #            be found.  (runtest is in srcdir!)
 # * SUBDIR   Subdir of top-level dir
 # * PROGRAM  Name of program
+# * OVERRIDE If specified, the name of the program to use when not in
+#            Cygnus mode.  Defaults to PROGRAM.
 sub define_program_variable
 {
-    local ($var, $whatdir, $subdir, $program) = @_;
+    local ($var, $whatdir, $subdir, $program, $override) = @_;
+
+    if (! $override)
+    {
+       $override = $program;
+    }
 
     if ($cygnus_mode)
     {
@@ -4182,7 +4194,7 @@ sub define_program_variable
     }
     else
     {
-       &define_variable ($var, $program);
+       &define_variable ($var, $override);
     }
 }
 
index 0aacb899ac6af337b94db89603a6b4f3ba74c749..184071b6289942f9e2d351943c9ae3909efcb9a7 100644 (file)
@@ -49,6 +49,11 @@ POST_INSTALL = true
 NORMAL_UNINSTALL = true
 PRE_UNINSTALL = true
 POST_UNINSTALL = true
+ACLOCAL = @ACLOCAL@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+MAKEINFO = @MAKEINFO@
 PACKAGE = @PACKAGE@
 PERL = @PERL@
 TAR = @TAR@
index b83a12fe4c34b837f58638ee2c96fee0a601170b..499262570371aeec70757f210948dae0b20e1a06 100644 (file)
@@ -49,6 +49,11 @@ POST_INSTALL = true
 NORMAL_UNINSTALL = true
 PRE_UNINSTALL = true
 POST_UNINSTALL = true
+ACLOCAL = @ACLOCAL@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+MAKEINFO = @MAKEINFO@
 PACKAGE = @PACKAGE@
 PERL = @PERL@
 TAR = @TAR@