configure.ac: remove detection of WARN_UNUSED_RESULT 5
authorChristophe Fergeau <cfergeau@redhat.com>
Fri, 1 Apr 2011 14:54:16 +0000 (16:54 +0200)
committerChristophe Fergeau <cfergeau@redhat.com>
Fri, 1 Apr 2011 14:54:16 +0000 (16:54 +0200)
commit75f64a8f409470b0de6852f6a7b2fa341a125424
tree56927cddbde45546c709798aae0e7303bb0e0120
parentf02b2a924f787f10c65fce91e7bbbe46d190b5d4
configure.ac: remove detection of WARN_UNUSED_RESULT

spice-gtk configure.ac has some code to detect if the compiler has
a special attribute to tag some functions so that they generate a
warning when their return value isn't checked. However, this test
is broken (the gcc attribute name is "warn_unused_result", not
"__warn_unused_result__" and WARN_UNUSED_RESULT is unused anyway
since spice-protocol provides SPICE_GNUC_WARN_UNUSED_RESULT. Thus
we can just drop that block of code from configure.ac
configure.ac