This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Test for makeinfo in the build tree, not for its Makefile

For all programs in the top-level Makefile that we test for, makeinfo
is the only one whose Makefile is tested for, as opposed to the actual
program.  I don't see the point of this inconsistency, and it has
actually caused me some problems.  While the real problem was the lack
of a dependence on all-texinfo for the project I was playing with,
I can't see any for this discrepancy, so I'm fixing it.

Index: ChangeLog
from  Alexandre Oliva  <>

	* (MAKEINFO): Don't assume makeinfo will be built just
	because its Makefile is there; test for the executable instead.

RCS file: /cvs/gcc/egcs/,v
retrieving revision 1.92
diff -u -p -r1.92
--- 2002/02/11 22:32:11 1.92
+++ 2002/02/23 10:02:57
@@ -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; \

Alexandre Oliva   Enjoy Guarana', see
Red Hat GCC Developer                  aoliva@{,}
CS PhD student at IC-Unicamp        oliva@{,}
Free Software Evangelist                Professional serial bug killer

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]