delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/26/09:56:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Bernard A Badger" <bab AT vx DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: cygwin wrapper aclocal doesn't handle multiple -I options ?
Date: Wed, 26 Jun 2002 09:57:36 -0400
Message-ID: <INEKLKBFCDBPKMKAJLMDOENKCEAA.bab@vx.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <3D192F3C.6050102@ece.gatech.edu>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Importance: Normal

You should allow file names with spaces in them.
Use:
	opt_i="$opt_i -I '$1'"

BTW, a better name would be opt_I, not opt_i, since the option is -I, not -i.

<<Further nitpicks suppressed.>>

> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On Behalf
> Of Charles Wilson
> Sent: Tuesday, June 25, 2002 11:04 PM
> To: Rapp, Perry
> Cc: cygwin AT cygwin DOT com
> Subject: Re: cygwin wrapper aclocal doesn't handle multiple -I options ?
> 
> 
> Noted.  I need to release a new autoconf wrapper soon (autoconf-2.53a 
> added the "-I" option to replace "-macrodir", so I need to handle that). 
>   I'll do a new automake wrapper at the same time.
> 
> --Chuck
> 
> 
> Rapp, Perry wrote:
> 
> > If I alter 
> >   /usr/bin/aclocal
> > from this
> > 
> >     -I )
> >        test $# = 1 && eval "$exit_missing_arg"
> >        shift
> >        opt_i="-I $1"
> >        shift ;;
> > 
> > to this
> > 
> >     -I )
> >        test $# = 1 && eval "$exit_missing_arg"
> >        shift
> >        opt_i=$opt_i" -I $1"
> >        shift ;;
> > 
> > 
> > then my use of multiple includes seems to work correctly with aclocal
> > 
> > 
> > Cordially,
> > 
> > Perry
> > 
> > 
> > --
> > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> > Bug reporting:         http://cygwin.com/bugs.html
> > Documentation:         http://cygwin.com/docs.html
> > FAQ:                   http://cygwin.com/faq/
> > 
> > 
> > 
> 
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019