[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] feature request: argp()

From: Bruno Haible
Subject: Re: [Bug-gnulib] feature request: argp()
Date: Wed, 11 Jun 2003 21:08:06 +0200
User-agent: KMail/1.5

Simon Josefsson wrote:

> > I don't think -I- is portable. That's why we copy
> >     alloca_.h to alloca.h
> >     sysexit_.h to sysexits.h
> > if the system doesn't have this include file.
> Right, but will writing
> #include <sysexits.h>
> in your application code and having the sysexits.h file residing in
> the application source tree work if the user uses -I-?  I'm not sure
> how gnulib modules are (will be) integrated into applications, so
> maybe that process takes care of this problem, either by disallowing
> -I- or make sure the -I. is added again after any -I-.

Why would anyone use -I- when attempting to use portable programs?
(-I- is specific to gcc.)

Also the various -I options that automake adds by itself are undocumented;
anyone using -I- from within a Makefile.am is likely to fall on his face
by disabling some automake functionality (like VPATH builds).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]