This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: (970922) install-f2c-header problem and suggestion
- To: Mumit Khan <khan at xraylith dot wisc dot edu>
- Subject: Re: (970922) install-f2c-header problem and suggestion
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 29 Sep 1997 00:59:11 -0600
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199709251512.KAA10766@mercury.xraylith.wisc.edu>you write:
> I build all egcs snapshots on a scratch disk, and I just noticed that
> install-f2c-header is trying to write to /usr/local even though my
> prefix is /scratch/gnu.
>
> install-f2c-header:
> -if test -n "$(F2C_INSTALL_FLAG)" && test -f include/f2c.h; then \
> $(INSTALL_DATA) include/f2c.h $(includedir)/f2c.h; \
> chmod a+r $(includedir)/f2c.h; \
> else true; fi
>
> where includdir is $(local_prefix)/include, but I want this to be
> $(prefix)/include, since local_prefix is probably /usr/local here.
>
> Shouldn't this really be:
>
> install-f2c-header:
> -if test -n "$(F2C_INSTALL_FLAG)" && test -f include/f2c.h; then \
> $(INSTALL_DATA) include/f2c.h $(prefix)/include/f2c.h; \
> chmod a+r $(prefix)/include/f2c.h; \
> else true; fi
It's not even clear to me that we need or want anything from
install-f2c-header. Does anyone know why we want this?
Note that a copy of f2c.h will be put in $(libsubdir)/include/f2c.h
even if we don't put one in $(includedir)/f2c.h.
Jeff