This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: add AM_MAINTAINER_MODE in libsanitizer
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 16 Nov 2012 16:00:11 +0100
- Subject: Re: Patch: add AM_MAINTAINER_MODE in libsanitizer
- References: <87pq3dvbm0.fsf@fleche.redhat.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Nov 16, 2012 at 07:57:59AM -0700, Tom Tromey wrote:
> My build of gcc today tried to run autoconf in libsanitizer.
> However, I had the wrong version in my path, so the build died.
>
> In gcc it is normal to use AM_MAINTAINER_MODE to avoid this problem.
> I think this is missing from libsanitizer/configure.ac due to an
> oversight.
>
> This patch adds the missing call.
>
> Ok?
Yes, thanks.
> 2012-11-16 Tom Tromey <tromey@redhat.com>
>
> * configure.ac: Invoke AM_MAINTAINER_MODE.
> * aclocal.m4, configure, Makefile.in, asan/Makefile.in,
> interception/Makefile.in, sanitizer_common/Makefile.in: Rebuild.
>
> diff --git a/libsanitizer/configure.ac b/libsanitizer/configure.ac
> index 76a19b6..4fb576f 100644
> --- a/libsanitizer/configure.ac
> +++ b/libsanitizer/configure.ac
> @@ -24,6 +24,7 @@ AC_SUBST(target_alias)
>
> AM_INIT_AUTOMAKE(foreign)
> AM_ENABLE_MULTILIB(, ..)
> +AM_MAINTAINER_MODE
>
> # Calculate toolexeclibdir
> # Also toolexecdir, though it's only used in toolexeclibdir
Jakub