findutils-patches
[Top][All Lists]
Advanced

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

[Findutils-patches] [PATCH 1/2] Fix inadequte quoting in AC_ARG_ENABLE u


From: James Youngman
Subject: [Findutils-patches] [PATCH 1/2] Fix inadequte quoting in AC_ARG_ENABLE usage.
Date: Sun, 11 May 2014 15:57:32 +0100

* configure.ac: Quote second argument of AC_ARG_ENABLE.
---
 ChangeLog    |    5 +++++
 configure.ac |   12 +++++++-----
 2 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 644d11f..45e25fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-05-11  James Youngman  <address@hidden>
+
+       Fix inadequte quoting in AC_ARG_ENABLE usage.
+       * configure.ac: Quote second argument of AC_ARG_ENABLE.
+
 2014-01-14  James Youngman  <address@hidden>
 
        Fix typo "ouptut".
diff --git a/configure.ac b/configure.ac
index 9f96d9a..a7de620 100644
--- a/configure.ac
+++ b/configure.ac
@@ -111,11 +111,13 @@ gl_MANYWARN_COMPLEMENT([warnings], [$warnings], 
[$excluded_warnings])
 
 AC_ARG_ENABLE(compiler-warnings,
   AS_HELP_STRING(--enable-compiler-warnings,Enable many compiler warnings),
-  for w in $warnings
-  do
-    gl_WARN_ADD([$w])
-  done
-)
+  [
+    for w in $warnings
+    do
+      gl_WARN_ADD([$w])
+    done
+  ]
+  )
 
 dnl Older versions of gl/m4/nls.m4 provide AM_MKINSTALLDIRS.
 dnl The current version of gnulib does not, but the version of
-- 
1.7.10.4




reply via email to

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