This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: INSTALL set incorrectly in gdb/doc/Makefile
- To: Eli Zaretskii <eliz at delorie dot com>
- Subject: Re: INSTALL set incorrectly in gdb/doc/Makefile
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 01 Mar 2000 20:00:12 +1100
- CC: gdb at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <200002270838.DAA25037@indy.delorie.com>
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