automake
[Top][All Lists]
Advanced

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

Re: passing autoreconf -I to aclocal -I


From: Eric Blake
Subject: Re: passing autoreconf -I to aclocal -I
Date: Thu, 23 Oct 2008 19:34:33 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080914 Thunderbird/2.0.0.17 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[adding automake list]

According to Clinton Roy on 10/22/2008 5:45 PM:

Hello, Clinton,

> This patch makes autoreconf pass along -I arguments to aclocal, which
> is useful in cases
> where m4 files are installed in sensible, but non standard places
> (like /opt/local/share/aclocal)

Thanks for the patch.  Care to add a ChangeLog entry, and wrap the line to
not exceed 80 columns?  Meanwhile, I'd like an opinion from automake users
as to whether this patch makes sense to apply, or better reasoning than I
can offer why it is not correct.

>
> diff --git a/bin/autoreconf.in b/bin/autoreconf.in
> index 923f8ca..86e8826 100644
> --- a/bin/autoreconf.in
> +++ b/bin/autoreconf.in
> @@ -186,6 +186,7 @@ sub parse_args ()
>
>    # Dispatch autoreconf's option to the tools.
>    # --include;
> +  $aclocal    .= join (' -I ', '', map { shell_quote ($_) } @include);
>    $autoconf   .= join (' --include=', '', map { shell_quote ($_) }
@include);
>    $autoconf   .= join (' --prepend-include=', '', map { shell_quote
($_) } @prepend_include);
>    $autoheader .= join (' --include=', '', map { shell_quote ($_) }
@include);
> diff --git a/doc/autoconf.texi b/doc/autoconf.texi
> index 71f507f..2315515 100644
> --- a/doc/autoconf.texi
> +++ b/doc/autoconf.texi
> @@ -1663,7 +1663,7 @@ run @samp{make}.
>  @item address@hidden
>  @itemx -I @var{dir}
>  Append @var{dir} to the include path.  Multiple invocations accumulate.
> -Passed on to @command{autoconf} and @command{autoheader} internally.
> +Passed on to @command{aclocal}, @command{autoconf} and
@command{autoheader} internally.
>
>  @item address@hidden
>  @itemx -B @var{dir}

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkBJikACgkQ84KuGfSFAYBQkQCeM7jzTYF7vET8Gb6RAdFw1Gqe
nr8AmwX7LZmyRYoHgaO82/fqTY347IyM
=tFa3
-----END PGP SIGNATURE-----




reply via email to

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