This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Texino build problem
- To: egcs at cygnus dot com
- Subject: Re: Texino build problem
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 03 Apr 1998 13:13:17 -0700
- Newsgroups: cygnus.egcs
- Organization: Cygnus Solutions
- References: <199803270116.RAA04845@mail.earthlink.net>, <d91zvi3dp2.fsf.cygnus.egcs@sejong.cs.umn.edu>
- Reply-To: tromey at cygnus dot com
>> 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 <automake-bugs@gnu.org>, 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;
}