This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


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

Re: INSTALL set incorrectly in gdb/doc/Makefile


Eli Zaretskii wrote:
> 
> Does anyone else see problems with the value of INSTALL in
> gdb/doc/Makefile?
> 
> In my case, it gets set to "../".  I did a bit of digging, and it
> seems that the reason is that gdb/configure uses ac_given_INSTALL
> right before it recurses into gdb/doc, but ac_given_INSTALL is not set
> anywhere except config.status, which runs in a separate shell.
> 
> I initially thought it was specific to DJGPP, but the above seems
> quite general...

Trying a configure on a bsd system I see:

$ grep '^INSTALL' gdb/doc/Makefile 
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644

> Am I missing something?

I'm not sure.

A guess is that your system doesn't have a real install program so
configure is trying to set things up for src/install-sh
(../../install-sh) Some how the ``install-sh'' (../install-sh) is
getting lost.  Look for ac_install_sh in configure.

	Andrew

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