public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Knut-HÃ¥vard Aksnes <etokna@eto.ericsson.se>
To: law@cygnus.com
Cc: Paul Koning <pkoning@xedia.com>, egcs@cygnus.com, etokna@eto.ericsson.se
Subject: Re: Bug in installation
Date: Tue, 09 Dec 1997 01:38:00 -0000	[thread overview]
Message-ID: <9712090938.AA01305@grolsch> (raw)
In-Reply-To: <12237.881645265@hurl.cygnus.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1987 bytes --]

Jeffrey A Law writes:
 > 
 >   In message <9712052020.AA29379@kona.>you write:
 >   > >>>>> "Jeffrey" == Jeffrey A Law <law@cygnus.com> writes:
 >   > 
 >   >  Jeffrey> Or maybe we stop installing f2c outside of $(libsubdir) and
 >   >  Jeffrey> instead have configure issue a warning about the existance
 >   >  Jeffrey> of an old f2c in /usr/include or /usr/local/include?


I second this comment.

 >   > 
 >   > Sounds like a great idea.  Hardwired destinations are a pain, and
 >   > moving away from them in this manner is a definite plus.
 > Actually I just went back and looked at the archives and the source;
 > and f2c.h is not installed outside of $prefix by default.  It is only
 > done if F2C_INSTALL_FLAGS is true, which should only happen if
 > you've touched the file f2c-install-ok.
 > 
 > So, I think we need to find out how/why this file is being installed
 > on your systems and fix it.
 > 
From my Makefile (This to debug the Makefile.in):
F2C_INSTALL_FLAG = [ -f f2c-install-ok -o -f $(srcdir)/f2c-install-ok ]

and later:

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


What you wants is probably:

install-f2c-header:
        -if $(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

I   still  thinks  this is  the   wrong  way  of doing   installation,
enable/disable at configuration time  is probably better than checking
for f2c-install-ok.  (A warning can be  issued at configuration and/or
install time.)

---------------------------------------------------------------------------
Name:	Knut-HÃ¥vard Aksnes		Ericsson signature: HI/ETO/X/I KNA
Phones: Job: +47 370 51 481 		Mobile: +47 915 60 624
Email: etokna@eto.ericsson.se		Memo:  	ETO.ETOKNA


      reply	other threads:[~1997-12-09  1:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9712052020.AA29379@kona.>
1997-12-08 21:26 ` Jeffrey A Law
1997-12-09  1:38   ` Knut-HÃ¥vard Aksnes [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9712090938.AA01305@grolsch \
    --to=etokna@eto.ericsson.se \
    --cc=egcs@cygnus.com \
    --cc=law@cygnus.com \
    --cc=pkoning@xedia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).