🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41527

Re: AUTOCONF - how to specify directory path?

#41527
From: Dan Kelley
Date: Sun, 17 Mar 1996 00:00
22 lines
1622 bytes
Timothy Mooney wrote:
> 
> In article <314B16D7.7F6@dal.ca>, Dan Kelley  <d.kelley@dal.ca> wrote:
> >When writing autoconf scripts, how may I specify a non-standard location for an include file?
> ...
> if test -d /strange/location/include ; then
>         CFLAGS="$CFLAGS -I/strange/location/include"
>         CPPFLAGS="$CPPFLAGS -I/strange/location/include"
> fi

Tim, thanks very much for the advice.  It is *exactly* what I needed!  I hadn't 
thought of directly inserting shell code that way (actually, I embedded it in 
a define() command) .  (I'm not very clever on autoconf since I basically 
only have to tweak my scripts once a year or so.)

Again, thanks for the advice.  It helped a lot.

-- 
Dan E. Kelley                   internet:         mailto:Dan.Kelley@Dal.CA
Oceanography Department         phone:                       (902)494-1694
Dalhousie University            fax:                         (902)494-2885
Halifax, NS, CANADA, B3H 4J1    WWW:  http://www.phys.ocean.dal.ca/~kelley
Technical Details
Message-ID: <314C3258.6156@dal.ca>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <314B16D7.7F6@dal.ca> <4ifq9b$o8b@golem.phys.ndsu.NoDak.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,33d6c581e0e2e5df
X-Google-Attributes: gid11318c,public
From: Dan Kelley <d.kelley@dal.ca>
Subject: Re: AUTOCONF - how to specify directory path?
Date: 1996/03/17
Message-ID: <314C3258.6156@dal.ca>
X-Deja-AN: 142968008
references: <314B16D7.7F6@dal.ca> <4ifq9b$o8b@golem.phys.ndsu.NoDak.edu>
to: Timothy Mooney <mooney@golem.phys.ndsu.NoDak.edu>
content-type: text/plain; charset=us-ascii
organization: Dalhousie University
mime-version: 1.0
newsgroups: gnu.gcc.help
x-mailer: Mozilla 2.0 (X11; I; SunOS 5.4 sun4m)