quote: fix syntax-check
authorAkim Demaille <akim@lrde.epita.fr>
Tue, 13 Mar 2012 19:30:59 +0000 (12:30 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 13 Mar 2012 19:31:25 +0000 (12:31 -0700)
* top/maint.mk (sc_prohibit_quote_without_use): quote.h
also exports quote_quoting_options.

ChangeLog
top/maint.mk

index 3a114aa..8250797 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-03-13  Akim Demaille  <akim@lrde.epita.fr>
+
+       quote: fix syntax-check
+       * top/maint.mk (sc_prohibit_quote_without_use): quote.h
+       also exports quote_quoting_options.
+
 2012-03-12  Simon Josefsson  <simon@josefsson.org>
 
        Collapse list of copyright years to ranges.  See
index a97e0bd..951b358 100644 (file)
@@ -455,7 +455,8 @@ sc_prohibit_quotearg_without_use:
 
 # Don't include quote.h unless you use one of its functions.
 sc_prohibit_quote_without_use:
-       @h='quote.h' re='\<quote(_n)? *\(' $(_sc_header_without_use)
+       @h='quote.h' re='\<quote((_n)? *\(|_quoting_options\>)' \
+         $(_sc_header_without_use)
 
 # Don't include this header unless you use one of its functions.
 sc_prohibit_long_options_without_use: