autoconf-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] Explain how to define $(AUTOM4TE) to generate `testsuite'.


From: Ralf Wildenhues
Subject: Re: [PATCH] Explain how to define $(AUTOM4TE) to generate `testsuite'.
Date: Wed, 31 Oct 2007 17:13:35 +0100
User-agent: Mutt/1.5.16 (2007-10-18)

* Benoit Sigoure wrote on Wed, Oct 31, 2007 at 04:43:28PM CET:
>       * doc/autoconf.texi (Making testsuite Scripts): Here,
>       with AM_MISSING_PROG.

> I'm not sure about this one.  Actually, as a user, I'd prefer not to worry
> with this and do this automagically in AC_CONFIG_TESTDIR, WDYT?

It should work whether Automake is used or not.

> --- a/doc/autoconf.texi
> +++ b/doc/autoconf.texi
> @@ -20202,6 +20202,13 @@ Still within @file{configure.ac}, as appropriate, 
> ensure that some
>  @code{AC_CONFIG_FILES} command includes substitution for
>  @file{tests/atlocal}.
>  
> +You will also need to invoke @command{autom4te} to generate the testsuite,
> +so you should add the following invocation to @file{configure.ac} too:
> address@hidden
> +AM_MISSING_PROG([AUTOM4TE], [autom4te])
> address@hidden example

How about something like this?

@item
You will also need to invoke @command{autom4te} to generate the
testsuite, written as @samp{$(AUTOM4TE)} in the example below.
If you are using Automake, a good way to define it is to add this
to @file{configure.ac}:
@example
AM_MISSING_PROG([AUTOM4TE], [autom4te])
@end example

If you agree, then please free to commit that.

Cheers,
Ralf




reply via email to

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