From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Tromey To: egcs@cygnus.com Subject: Re: Texino build problem Date: Sat, 04 Apr 1998 14:20:00 -0000 Message-id: References: <199803270116.RAA04845@mail.earthlink.net> X-SW-Source: 1998-04/msg00141.html >> make[3]: Entering directory `/pooma/mitchell/egcs/objdir/texinfo/lib' >> make[3]: *** No rule to make target `-c', needed by `all'. Stop. >> all: Makefile $(LIBRARIES) $(DATA) >> DATA = $(INSTALL_DATA) >> INSTALL_DATA = ${INSTALL} -m 644 >> INSTALL = ../../../texinfo/../install-sh -c Raja> One fix would be (I haven't tested this) to either rename Raja> EGCS_PROG_INSTALL in acinclude.m4 to AC_PROG_INSTALL, or say Raja> AC_DEFINE([AC_PROG_INSTALL],[EGCS_PROG_INSTALL]) Raja> in acinclude.m4. Ian Taylor forwarded me this message. Suspected automake bugs should be sent to , since I don't read the egcs list. The proposed fix won't work. The story is: automake magically knows about INSTALL_DATA, and doesn't expect to see it defined by configure. If it is, then automake gets confused and thinks that `INSTALL_DATA' is a user-defined `_DATA' variable. Even if EGCS_PROG_INSTALL is renamed, automake will probably still discover the `AC_SUBST(INSTALL_DATA)' -- which is what is really causing the problem. Could somebody tell me why EGCS_PROG_INSTALL is needed? What does it do? The appended patch should fix the problem. I added it and a test case to my automake sources. Tom Index: automake.in =================================================================== RCS file: /home/tromey/gnu/CVSROOT/automake/automake.in,v retrieving revision 1.555 diff -u -r1.555 automake.in --- automake.in 1998/04/01 04:10:39 1.555 +++ automake.in 1998/04/03 20:08:16 @@ -4273,7 +4273,8 @@ # FIXME. if (/$AC_SUBST_PATTERN/o && $1 ne 'ANSI2KNR' - && $1 ne 'INSTALL_SCRIPT') + && $1 ne 'INSTALL_SCRIPT' + && $1 ne 'INSTALL_DATA') { $configure_vars{$1} = 1; }