# HG changeset patch # User Eric Blake # Date 1289596232 25200 # Node ID 6c7baec0132f20a8a81fe1bb08d6adb603460154 # Parent 58d4055a6eee79dc6c50f045ffc5209ca939fa53 maintainer-makefile: prohibit test x == x * top/maint.mk (sc_prohibit_test_double_equal): New rule. Based on a report by Matthias Bolte. Signed-off-by: Eric Blake diff -r 58d4055a6eee -r 6c7baec0132f ChangeLog --- a/ChangeLog Fri Nov 12 13:50:48 2010 -0700 +++ b/ChangeLog Fri Nov 12 14:10:32 2010 -0700 @@ -1,5 +1,9 @@ 2010-11-12 Eric Blake + maintainer-makefile: prohibit test x == x + * top/maint.mk (sc_prohibit_test_double_equal): New rule. + Based on a report by Matthias Bolte. + bootstrap: allow FreeBSD gzip * build-aux/bootstrap (get_version): Parse FreeBSD gzip version, which has no '.' and goes to stderr. diff -r 58d4055a6eee -r 6c7baec0132f top/maint.mk --- a/top/maint.mk Fri Nov 12 13:50:48 2010 -0700 +++ b/top/maint.mk Fri Nov 12 14:10:32 2010 -0700 @@ -817,6 +817,12 @@ halt='$(_ptm1); $(_ptm2)' \ $(_sc_search_regexp) +# Avoid a test bashism. +sc_prohibit_test_double_equal: + @prohibit='(\