libltdl/m4/argz.m4: Add quotes around variable, which may contain the multiword value 'guessing no'. --- argz.m4 has this interesting behavior on cygwin-cross: [[case $host_os in #( *cygwin*) lt_cv_sys_argz_works=no if test "$cross_compiling" != no; then lt_cv_sys_argz_works="guessing no" else
So, on cygwin cross the variable lt_cv_sys_argz_works has a value that contains spaces. Thus, without quotes around its value, 'test' complains that there are too many arguments. This should probably also go upstream to gnulib. libltdl/m4/argz.m4 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libltdl/m4/argz.m4 b/libltdl/m4/argz.m4 index 37c1b11..d1f4ec5 100644 --- a/libltdl/m4/argz.m4 +++ b/libltdl/m4/argz.m4 @@ -66,7 +66,7 @@ AS_IF([test -z "$ARGZ_H"], ;; #( *) lt_cv_sys_argz_works=yes ;; esac]]) - AS_IF([test $lt_cv_sys_argz_works = yes], + AS_IF([test "$lt_cv_sys_argz_works" = yes], [AC_DEFINE([HAVE_WORKING_ARGZ], 1, [This value is set to 1 to indicate that the system argz facility works])], [ARGZ_H=argz.h -- 1.7.1