This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: cygwin wrapper aclocal doesn't handle multiple -I options ?


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@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
> Of Charles Wilson
> Sent: Tuesday, June 25, 2002 11:04 PM
> To: Rapp, Perry
> Cc: cygwin@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]