[Spice-devel] [PATCH spice-gtk 2/5] configure.ac: s/x"$have_foo"/"x$have_foo"/

Marc-André Lureau mlureau at redhat.com
Fri Jan 27 09:11:08 PST 2012



----- Mensaje original -----
> configure.ac was using 2 slightly different styles for have_foo
> tests:
> if test x"$have_foo" = "xyes"; then
> and:
> if test "x$have_foo" = "xyes"; then
> 
> Switch to the latter style everywhere for consistency.

Somehow, I thought the x"$foo" style was more conventionnal, but it seems not looking at other autoconf macros. Although it seems people mix it without second thoughts.

anyway, ack, although I can't promise we'll continue to enforce it.


More information about the Spice-devel mailing list