(970922) install-f2c-header problem and suggestion

Jeffrey A Law law@cygnus.com
Sun Sep 28 23:56:00 GMT 1997


  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



More information about the Gcc mailing list