Project

General

Profile

Actions

Bug #38

closed

configure.ac not accepting --disable-debug correctly

Added by Richard Grenville over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Low
Category:
Core
Target version:
-
Start date:
02/21/2012
Due date:
% Done:

100%

Estimated time:

Description

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. )
http://www.flameeyes.eu/autotools-mythbuster/autoconf/arguments.html

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.

Actions #1

Updated by Arnaud Fontaine over 12 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions #2

Updated by Arnaud Fontaine over 12 years ago

  • Assignee set to Arnaud Fontaine

Thank you very much for your patch. I have just applied it. Could you please open a separate bug for fvwm issue? I will give it a try soon and try to fix it... Normally, you should have nothing to configure from Unagi point of view (besides enabling opacity plugin in the configuration file), so there is definitely something wrong.

Actions #3

Updated by Arnaud Fontaine over 12 years ago

BTW, I think I will release a 0.3.1 as there has been some build and rendering fixes. Could you please let me know if you have any issue with the ebuild using git version beforehand? (as you rightly pointed out, I don't know autotools so well so I may have made another mistake ;-))

Actions #4

Updated by Richard Grenville over 12 years ago

Thanks for fixing it.

I wrote an ebuild for the git version and it appears working flawlessly. Building with HTML doc and the debugging option work correctly, too. It's attached in the Gentoo bug report if you need it.

I'm trying to file a bug report about the fvwm issue right now.

Actions

Also available in: Atom PDF