From 0c37a90329c2c87423aff707d44c676d81a68f2f Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Mon, 23 Aug 2010 09:01:08 -0600 Subject: [PATCH] argz: fix shell quoting issue * m4/argz.m4 (gl_FUNC_ARGZ): Allow for spaces in argument. Reported by Charles Wilson. Signed-off-by: Eric Blake --- ChangeLog | 6 ++++++ m4/argz.m4 | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7a0851099..37f8da396 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-08-23 Eric Blake + + argz: fix shell quoting issue + * m4/argz.m4 (gl_FUNC_ARGZ): Allow for spaces in argument. + Reported by Charles Wilson. + 2010-08-22 Paolo Bonzini Erik Faye-Lund diff --git a/m4/argz.m4 b/m4/argz.m4 index b799fb37a..0323d4cbb 100644 --- a/m4/argz.m4 +++ b/m4/argz.m4 @@ -7,7 +7,7 @@ # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. -# serial 7 argz.m4 +# serial 8 argz.m4 AC_DEFUN([gl_FUNC_ARGZ], [gl_PREREQ_ARGZ @@ -67,7 +67,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 -- 2.11.0