[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fwd: autoreconf and aclocal options (-I, --ac-dir)]
From: |
Ralf Wildenhues |
Subject: |
Re: [Fwd: autoreconf and aclocal options (-I, --ac-dir)] |
Date: |
Tue, 4 Apr 2006 21:26:48 +0200 |
User-agent: |
Mutt/1.5.9i |
* Chris Pickett wrote on Mon, Apr 03, 2006 at 05:00:23PM CEST:
> On Mon, April 3, 2006 4:57 am, Stepan Kasal wrote:
> >
> > You cannot modify the system-wide dirlist file, so you decided to modify
> > the top Makefile.am of every package.
>
> Well, just for the packages that need the local macro.
> > I don't think this is the best solution possible; it is better to make
> > a wrapper (or alias) around aclocal (and aclocal-1.x), which would exec
> > /usr/bin/aclocal -I /home/chris/temp/share/aclocal $@
Hmm. The first `-I' argument to aclocal is special, in that it, if it
specifies a relative path, may be used to `--install' local macros.
So a better wrapper would be this:
#! /bin/sh
test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
exec /usr/bin/aclocal ${1+"$@"} -I /my/additional/absolute/path
# end of wrapper
> It could also be nice if autoreconf passed the -I flag to aclocal. I
> don't think it would matter if dirs not containing macros were in the
> list. Just an idea.
I agree that it would be better if there was a better way than such a
wrapper. But I think passing the -I flag is troublesome; I admit to
not have checked this, though.
Cheers,
Ralf