[wx-dev] [ wxwindows-Bugs-1160112 ] USE_UNIVERSAL gets set, although it shouldn't

SourceForge.net noreply at sourceforge.net
Fri May 16 10:52:18 PDT 2008


Bugs item #1160112, was opened at 2005-03-09 18:55
Message generated for change (Settings changed) made by neis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1160112&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: Build -- unix
Group: Trivial
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Florian G. Pflug (phlo)
Assigned to: Nobody/Anonymous (nobody)
Summary: USE_UNIVERSAL gets set, although it shouldn't

Initial Comment:
When running configure on osx, and specifiying
--without-x11 (or --without-mgl, or some other
gui-options), USE_UNIVERSAL gets set by the configure
script. I guess it should only be set when --with-x11
is requested.

The wxMac tarball doesn't seem to contains the sources
for universal widgets, meaning that make fails after
compiling a few files with a missing include file
(wx/univ/theme.h).

The error seems to be in the part of configure.in where
the --with-options are defined. The way I read the
code, it sets USE_UNIVERSAL whenever --with-mgl _or_
--without-mgl is specified, while it should only do so
in the former case.

----------------------------------------------------------------------

>Comment By: Stefan Neis (neis)
Date: 2008-05-16 17:52

Message:
Logged In: YES 
user_id=32202
Originator: NO

That analysis semms to be completely correct and valid for all Unix
platforms, even for current trunk. In fact, a couple of other values are
set as well (e.g. TOOLKIT_GIVEN to 1, which means that while "configure"
simply guesses a default toolkit, "configure
--without-some-non-default-toolkit" stops with an error message.
I think this is not entirely logical, but at least it's not as fatal as
setting wxUSE_UNIVERSAL to 1 as done by --without-x11 and/or
--without-mgl.
OTOH, I don't really know if it is worth doing anything about it,
specifying which toolkits you _don't_ want to use seems a bit strange.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1160112&group_id=9863


More information about the wx-dev mailing list