[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI] {maint} configure: ${#param} must be supported by the shell for th
From: |
Stefano Lattarini |
Subject: |
[FYI] {maint} configure: ${#param} must be supported by the shell for the testsuite |
Date: |
Sat, 14 Jul 2012 18:41:26 +0200 |
This will be required at least by the Automake-NG branch.
* configure.ac: Require the $AM_TEST_RUNNER_SHELL supports ${#param} as
a way to obtain the length of the expansion of the variable $param.
Signed-off-by: Stefano Lattarini <address@hidden>
---
configure.ac | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/configure.ac b/configure.ac
index d49da6c..a8db061 100644
--- a/configure.ac
+++ b/configure.ac
@@ -297,6 +297,14 @@ AC_DEFUN([_AM_CHECK_CANDIDATE_SHELL],
[], [am_score=1; break])
_AM_CHECK_SHELL_FEATURE([$1],
+ [supports address@hidden:@var}],
+ [zero='' one='x' twelve=' foobar baz!' \
+ && test address@hidden:@zero} -eq 0 \
+ && test address@hidden:@one} -eq 1 \
+ && test address@hidden:@twelve} -eq 12],
+ [], [am_score=1; break])
+
+ _AM_CHECK_SHELL_FEATURE([$1],
[supports address@hidden:@glob} and \${var%glob}],
[v=a/b/c \
&& test address@hidden:@*/} = b/c \
--
1.7.9.5
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [FYI] {maint} configure: ${#param} must be supported by the shell for the testsuite,
Stefano Lattarini <=