maint.mk: check for [ as well as test
authorEric Blake <eblake@redhat.com>
Wed, 31 Mar 2010 21:33:55 +0000 (15:33 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 31 Mar 2010 21:33:55 +0000 (15:33 -0600)
commite01b458f40440e64ce6f59beb0b446219bb6302d
tree896d682f82da7d88c0095c5858fb0c85b596aed5
parent6c2dbbd94ee029fa8ae33c3450a21fd202b74134
maint.mk: check for [ as well as test

A word on the regex: \<\[ never matches, so the match instead
looks for a leading space in that case.  Although configure.ac
should generally use test instead of [ (because the latter has
to be spelled [[ because of m4 processing), libvirt had a case
of the latter that would have been detected with this rule.

* top/maint.mk (sc_prohibit_test_minus_ao): Extend test.
Based on a libvirt report by Matthias Bolte.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
top/maint.mk