Makefile.in (MAKEINFO): Don't assume makeinfo will be built just because its Makefile...
authorAlexandre Oliva <aoliva@redhat.com>
Sat, 23 Feb 2002 10:06:59 +0000 (10:06 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Sat, 23 Feb 2002 10:06:59 +0000 (10:06 +0000)
* Makefile.in (MAKEINFO): Don't assume makeinfo will be built just
because its Makefile is there; test for the executable instead.

From-SVN: r49990

ChangeLog
Makefile.in

index 1b1fea40293ac55a8e151f7e8806f6de7a0f7a47..9de6dc7939ca3b55c62bff705c5489dd697e0805 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
+
+       * Makefile.in (MAKEINFO): Don't assume makeinfo will be built just
+       because its Makefile is there; test for the executable instead.
+
 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
 
        * configure.in (CXX_FOR_TARGET): Add -shared-libgcc for
index 4e865c8e6fdff7e5cb635e216695ddd6faffb8cd..d8c5c59f84fefb158c5f0fe047cd08c1339d3d45 100644 (file)
@@ -142,7 +142,7 @@ M4 = `if [ -f $$r/m4/m4 ] ; \
 
 # For an installed makeinfo, we require it to be from texinfo 4 or
 # higher, else we use the "missing" dummy.
-MAKEINFO = `if [ -f $$r/texinfo/makeinfo/Makefile ] ; \
+MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
        then echo $$r/texinfo/makeinfo/makeinfo ; \
        else if (makeinfo --version \
          | egrep 'texinfo[^0-9]*([1-3][0-9]|[4-9])') >/dev/null 2>&1; \