From: Eric Blake Date: Mon, 23 Aug 2010 15:01:08 +0000 (-0600) Subject: argz: fix shell quoting issue X-Git-Tag: v0.1~3921 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=0c37a90329c2c87423aff707d44c676d81a68f2f;p=gnulib.git 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 --- 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