automake-patches
[Top][All Lists]
Advanced

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

Re: [FYI] configure: the testsuite shell must support 'test -e' and 'tes


From: Dave Hart
Subject: Re: [FYI] configure: the testsuite shell must support 'test -e' and 'test ! -e'
Date: Fri, 29 Jun 2012 05:28:40 +0000

On Thu, Jun 28, 2012 at 20:49 UTC, Stefano Lattarini wrote:
> * configure.ac: Require that the shell that is to be selected to run
> the testsuite understands "set -e" and "set ! -e".

You mean test, not set.

> Signed-off-by: Stefano Lattarini <address@hidden>
> ---
>  configure.ac |    5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/configure.ac b/configure.ac
> index 79efc41..04658a5 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -340,6 +340,11 @@ AC_DEFUN([_AM_CHECK_CANDIDATE_SHELL],
>       [rm -f conftest-alias.sh],
>       [rm -f conftest-alias.sh; am_score=1; break])
>
> +    _AM_CHECK_SHELL_FEATURE([$1],
> +      [supports "test -e"],
> +      [test -e configure && test -e . && test ! -e nonesuch],
> +      [], [am_score=1; break])
> +
>     break
>   done])
>
> --
> 1.7.9.5
>
>



reply via email to

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