delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/25/18:45:29

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
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: cygwin wrapper aclocal doesn't handle multiple -I options ?
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
Date: Tue, 25 Jun 2002 18:46:20 -0400
Message-ID: <DBA6BD994E72DB44A3BD5C2A3A93CFB62CEF30@smxchqexmb01.smartronix.com>
From: "Rapp, Perry" <PRapp AT smartronix DOT com>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g5PMjSP02545

I have a hypothesis that the aclocal wrapper doesn't handle
multiple -I options, or at least doesn't pass them all to the
real aclocal.


If I replace my call

  aclocal -I m4 -I build/autotools

with

  /usr/autotools/devel/aclocal -I m4 -I build/autotools

then things work (it finds gettext, which is in ./m4/gettext.m4).

I looked at 

  /usr/bin/aclocal

and this section:



    -I )
       test $# = 1 && eval "$exit_missing_arg"
       shift
       opt_i="-I $1"
       shift ;;


suggests to me that it is replacing the earlier -I option with the
later ?

I am guessing a solution would be to do an append there,
but I'm no good at shell programming -- anyone know the
proper syntax ?

Cordially,

Perry



ps:



$ aclocal --version
aclocal (GNU automake) 1.6.1

Copyright 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

Written by Tom Tromey <tromey AT redhat DOT com>


--
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