configure.ac not accepting --disable-debug correctly
When trying to create an ebuild for unagi, we found unagi's configure script would enable debugging options if '--disable-debug' is passed to it. (It's Jess Haas who initially discover it.)
Further inspection reveals that in configure.ac AC_ARG_ENABLE is misused. I guess I couldn't describe the problem very well, since my English is not that good, but the cause of this problem could be found here: (Please search for "The most common mistake" on the page. )
My patch to fix the issue: https://404477.bugs.gentoo.org/attachment.cgi?id=302665
Original Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=404477
By the way I personally could not get unagi working on fvwm even though fvwm is (supposed to be?) ICCCM & EWMH compliant. Probably it has something to do with my configuration. After starting unagi all my windows would vanish, with tons of "DamageNotify" messages.