Commit Graph

153 Commits

Author SHA1 Message Date
Ron Lee
3950ea80e8 Make the warnings a little more relevant in other contexts
in which they may be seen.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 04:30:39 +00:00
Ron Lee
1320281c89 Handle the case of unresolveable ambiguity in --list now too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 08:08:02 +00:00
Ron Lee
9a09819ad9 Delay --list a little longer so we can indicate the best match
out of the general blob.  Format the output a little less ambiguously.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 05:57:14 +00:00
Ron Lee
0506bbbfdf Undo the link creation in builddir. contrib is still going to be
here for a while so there isn't much paydirt in working around the
problems on platforms with limited filesystems at this stage.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-25 11:56:48 +00:00
Ron Lee
ecd16d74ce Get rid of the symlink farm in $builddir too, contrib is here
to stay for a while.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-24 16:00:21 +00:00
Ron Lee
9103d280f9 Install the config files for cross debs under /usr/$(host), but link them
to the default system location under /usr.  This way the commands:
wx-config --prefix=/usr/$(host) and wx-config --prefix=/usr --host=$(host)
are much more congruent in their action.

Another nail in the coffin for inplace hacks.  Link $srcdir/include to
the build dir so that --prefix=$build_dir really does point to a
realistic looking installed development environment.  I don't know why
I didn't do this instead of (ab)using --exec-prefix to 'fix' this
simple omission for so long.  Probably because it is much more obvious
if contrib is out of the picture.  That makes it a little more work
right now, but long term this is a very clean and correct thing to do.
It completely absolves us of the two independent variables problem,
and of the tree becoming bogus without actually being stale.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-22 20:29:51 +00:00
Ron Lee
5636172bce Filter out the 'std' pseudo-lib from monolithic builds too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-21 23:46:54 +00:00
Ron Lee
ceec2216bd wx-config2.6
Designed to be resiliant against future cut and paste coders.  Any
gnarly parts are black boxed away nicely to avoid accidents and have
integrated debugging support for trivial sanity checking in the event
of modification or trouble.  In this way the major operations are all
cleanly separated making any or all of them simply extensible, or
replaceable in the face of future needs.  Functions now all have api
descriptions.  If you rely on a function to act in some way, please
document it to safeguard yourself against inadvertant interface
changes by others.

Everything now runs top top to bottom, we don't try to output things
as fast as we can read them anymore, instead we read everything in,
sort over it just once without the need for 'just in case' temp's, and
then output whatever we were asked for only when we are sure we have
the correct answer.  Almost all key data aims to be constant past the
point of its initialisation so side effect creep and trouble with half
(re)initialised data should be significantly reduced in future.  In
almost every case it is easy and clean to simply delay initialisation
until all required input channels have been emptied.  If you like,
think of it as mostly being one big constructor, with a little
destructor at the end which outputs what you requested.  At core, it
is simply a generated config file -- with some user friendly logic for
extracting its data and finding related files.

Removed references to --gl-libs in --help.  It still exists, but if
its deprecated, no need to fill space in a compact help summary.  It
will remain documented (as deprecated) in the man page.

Removed references to arcane order rules for arguments.  Those
limitations don't exist anymore, though the options are backward
compatible in all other respects from the user pov.

Removed references to --inplace, it doesn't need to be in the summary
help either.  It also is still accepted as an option, but there is no
value in passing it, an uninstalled wx-config will automatically
behave correctly.  When you need --inplace, it will supply that
behaviour for you (but there is no harm in typing it your self in that
case).  If you do type it when you don't need it, bad things will
probably happen just like they always would have.

Along with items above, generally compressed --help text to fit on
even a traditional sized terminal without the need for paging.  If we
want more detailed help built in, it should be broken into separate
pages, and this would be a trivial extension.

Command line input is now controlled by a small generic parser.  You
define what options you want and what groups you want them in by
initialising them as lists.  It runs over all the input and fills
corresponding psuedo-hashes from it for you to use as you please
later.

Added a validator for it to check yes/no options.

Use posix extended regex instead of gnu 'basic' regex extensions,
grep -E is portable, if gmake is not a requirement, we surely can't
push gnu grep on people.

Made --list more user friendly.  It will now always list the current
wx-config if it matches the feature spec, though it will warn if that
config is not in the specified --prefix.  Alternate configs that match
(if any) are listed separately. An unqualified call to wx-config --list
will always return (at least) the config that was called.  We can never
have a 'hanging' wx-config shell with no real implementation to back
it up anymore so we can always return a sensible result for the user.
A wx-config anywhere can list (and hence use) the configs installed in
any (other) prefix.

Delegation.  Too big a topic to remark on in depth here, see the code
for a fuller description.  With everything being nicely constant and
aligned to the respective library build, then aside from delegation,
wx-config really is _just_ a config file (albeit with a layer of logic
around the constants), and each wx-config carries a set of defaults
which match perfectly the library build that it was generated with.
If you choose a set of features that it can match, it will answer all
your queries for them, if it cannot, it will seek to delegate to the
config that is most like itself, but which can supply all the features
you specified.  This should be completely compatible with any set of
options that returned a sensible result previously, and produce a
sensible result in many cases where previously the collating order
of your locale or the nuances of your filesystem operations would
decide which library it thought you wanted.

Sort duplicates out of the list of libraries and trickle shared
dependencies down the list to properly support static builds.

Added the inplace-config tweak for use in the build tree.  This works
like any other config, except it presets the default prefix to point
at the build dir instead of the configured prefix that will become the
default if this build is installed.  It provides the behaviour of
--inplace when $build_dir/wx-config is called without also specifying
a different --{exec-,}prefix or any feature flags that it is
incompatible with.  In that event, it will try to delegate as per the
normal rules.

The inplace wrapper is not installed with the primary config which
cleanly disables it for system installs.  It will be invalidated if
the build (or source) dir is moved, but will be revalidated if the
build tree is subseqently updated with ./config.status --recheck &&
config.status (which it probably would need to be to build anyway for
other reasons at present too)

Enabled full support for static builds again, promoted --static to a
full feature option.  Fixed --ld to return something for them too.

Added --flavour, similar to the existing --vendor, but for autoconf
builds.  These will probably want to be streamlined further.
Broadened the use of release and flavour labels to support better
concurrent installs.

Fix bit rot in make-dist due to new/deleted files.

Whittled down the number of obsolete and duplicated substitution
variables in configure.in, and lowercased some variables we no longer
export for substitution.  Use the autoconf macros to generate files
where we want them instead of making them someplace and then moving
them all about.  Remove extra files and symlinks added for the two
part wx-config version.

Removed the debian -contrib packages.  We'll use multi-lib support
to manage them from now on and indiviual libs can be split out along
functional lines if required.  This means the retained contribs will
now get __WXDEBUG__ versions packaged too.

Removed conflicts from almost packages except i18n and wxPython. All
packages now either update or install alongside any existing ones.

Added support for flavoured debs as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-21 17:16:29 +00:00
Václav Slavík
c39ee0ad46 don't output -DwxUSE_GUI=0 in monolithic build, setup.h will take care of setting it correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-08 16:30:03 +00:00
Stefan Neis
2001ecbc76 Fixed typo reported by Ian Brown.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-04 08:37:19 +00:00
Vadim Zeitlin
224bf05c9b added --version-full option to wx-config
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-01 22:21:54 +00:00
Václav Slavík
838c9bd039 documentation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 10:07:24 +00:00
Václav Slavík
166bcebb8e install headers in prefix/include/wx-version/wx/ instead of prefix/include/wx/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 08:28:28 +00:00
Václav Slavík
48112931db fixes to wx-config config name matching
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 10:17:51 +00:00
Václav Slavík
8708fa7618 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-18 11:19:34 +00:00
Václav Slavík
14885f0910 complain about unrecognized flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 21:54:31 +00:00
Václav Slavík
89816e4f30 cleaned up --inplace description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 18:52:18 +00:00
Václav Slavík
251f47d1ea modified arguments syntax to be wx-config [options] [libraries list]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 17:48:37 +00:00
Vadim Zeitlin
a43ed08aa8 made --cppflags return -DwxUSE_GUI=0 when used with --libs=base
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 23:29:57 +00:00
Václav Slavík
74b8433210 put -DNO_GCC_PRAGMA into CPPFLAGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 20:36:13 +00:00
Václav Slavík
cadfae2b76 documentation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 16:26:02 +00:00
Václav Slavík
16327fd824 re-added --inplace documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 09:00:52 +00:00
Vadim Zeitlin
bc79eb4f76 fixed spellign typo in comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 08:58:44 +00:00
Vadim Zeitlin
127e9080f1 add -Icontrib/include when using --inplace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 08:57:44 +00:00
Vadim Zeitlin
1d8864ac63 added support for --libs=std,... syntax in wx-config
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 23:42:31 +00:00
Václav Slavík
efe6c06ffc --static flag docs correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-16 13:18:54 +00:00
Ron Lee
b63b07a809 More updates to the Debian packaging for wxPython, unicode and
the project name change.

Applied patch from ABX to make tex2rtf unicode compatible, then
removed wxSprintf lameness from it so it might actually work.
Also modified it to return true from tex2rtf OnInit in console
builds so the app will exit with a successful return code rather
than always returning failure even when it succeeds.

Implemented unicode capable wxCtime for glibc systems also needed
by tex2rtf.

Wrapped dde include in tex2rtf in a guard and assert that dde is
MSW only in its forwarding header.

Lowered the limit of maxlen in wxSprintf so it actually has a
chance to segfault on people instead of failing silently and
mysteriously with glibc.

Silenced some other 'potentially uninitialised variable' warnings
from gcc3, most of which were bogus, one potentially not so.

Added missing newline at the end of fontdlg.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 17:40:38 +00:00
Stefan Neis
31414f4c19 Do a configure test whether or not to include -I/usr/local/include in
wx-config --c*flags instead of never doing it for gcc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 14:14:03 +00:00
Václav Slavík
f93ca9fd7e 1. optionally use libSDL for wxSound
2. added --enable-plugins for dynamically loadable SDL backend
3. fixed OSS detection to not be Linux specific


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-01 18:29:49 +00:00
Vadim Zeitlin
09d3439cc2 fix for wx-config --inplace --rezflags output in wxCocoa (and reorganization of code common to wxMac/wxCocoa)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 11:28:06 +00:00
Václav Slavík
3527f29c87 added .chm support for Unix (Markus Sinner)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-07 20:15:27 +00:00
Václav Slavík
ffef10f672 output -Wl,--subsystem,console for Mingw if any GUI library is used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-16 16:12:31 +00:00
Václav Slavík
edd891e220 fix the situation when one of sublibraries is not built
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 15:09:17 +00:00
Václav Slavík
0154f61aa8 fix for broken --inplace, --prefix and --exec-prefix handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 14:51:55 +00:00
Václav Slavík
bb41dcbe3a moved DB classes into wxODBC library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 19:14:54 +00:00
Václav Slavík
9818fdf902 added wxAdvanced
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 01:14:10 +00:00
Robin Dunn
9171d4b479 fixed --basename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-31 21:30:03 +00:00
Václav Slavík
3338009913 reorganized wx-config to have all configure-modified values in one part and script logic in another, so that the former can be moved to another file to allow choosing from installed wx versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-30 09:44:43 +00:00
Václav Slavík
67c13b6cf5 more fixes: add host_alias suffix when cross-compiling; add builtin 2rd party libs to --libs output; always include wxbase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-30 09:10:55 +00:00
Václav Slavík
fef23dd452 fix wxBase name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-29 23:06:59 +00:00
Václav Slavík
a3ea8b5c09 fixed a small bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-29 22:53:16 +00:00
Václav Slavík
cf615ebbb1 adapted wx-config to work in multilib mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-29 22:42:16 +00:00
Václav Slavík
c74dc1630d don't link wxBase against GUI libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 18:55:09 +00:00
Václav Slavík
f0290fcacd oops, partially reverted previous commit, it was incorrect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 09:25:45 +00:00
Václav Slavík
fddeb06b11 use CODE_GEN_FLAGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 09:17:26 +00:00
Václav Slavík
e90ed8ad58 moving to autoconf-2.5x
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 22:12:12 +00:00
Václav Slavík
2f42e5b6bf added --basename and --release flags to wx-config (patch #750815)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 16:08:15 +00:00
Gilles Depeyrot
36825681b5 improved Mac resource creation step in order to allow samples to provide
specific Rez options (used in docview sample)
added separate Mac Finder flag modification step (using SetFile)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-27 22:18:18 +00:00
Vadim Zeitlin
52c71b808f experimental --inplace flag implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 03:09:08 +00:00
Ron Lee
dc5e3b9ec5 gah. escape $ in the here block.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 22:50:23 +00:00
Ron Lee
82a649b67c reverted the --inplace addition and instead documented the use of
--prefix and --exec-prefix to do the same thing.  I can't think of
any way to do this right now with one flag without making some
assumption about the users working habits.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 22:44:38 +00:00
Vadim Zeitlin
2b5f62a0b2 merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Robin Dunn
e26c13cffd Ensure -D_FILE_OFFSET_BITS=64 also gets on the command line when
needed, and also fix wx-config to output the largefile flags


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:12:08 +00:00
Vadim Zeitlin
2bffed64c5 make --static default if configured with --disable-shared
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 14:56:55 +00:00
Vadim Zeitlin
a1d22ad7e9 got rid of COMMON_THREADCPPFLAGS which is not really needed as we can use TOOLCHAIN_DEFS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 12:43:33 +00:00
Mattia Barbon
a0b9e27fd4 Applied Fabian Wenzel's patches to add -mthreads for threads to work
in MinGW.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 20:11:12 +00:00
Julian Smart
1fc32b12ee Misc mods for feedback from Marcin Wojdyr <wojdyr@if.pw.edu.pl>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 11:57:10 +00:00
Robin Dunn
3bd8fb5f02 Added --enable-rpath=dir that will cause the -rpath linker commands to
be output by wx-config --libs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-31 02:50:40 +00:00
Gilles Depeyrot
40f7145ca5 use specific linker flags under Mac OS X when linking executables against the
wxWindows dynamic shared library (LDFLAGS_EXE)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 18:39:06 +00:00
Václav Slavík
885d4bf54e changes to wx-config --static to allow static linkage in presence of shared library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 00:32:53 +00:00
Ron Lee
62d0491bf6 Where's GL? Hopefully wx-config will now tell us if we need to know.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 13:20:26 +00:00
Ron Lee
024cad37e9 removed -static flag from wx-config --libs. It does more damage removing
fine-grained choice from people than it does to help them.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-12 01:22:56 +00:00
Ron Lee
00c813596e make --static flag act on --cppflags too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 05:24:36 +00:00
Ron Lee
3d63bc3a03 Rearrange the linker flags/libs code in preparation for better static/shared
support.  Added --static option to wx-config and removed most libs from
--libs output unless it is used.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-08 11:24:04 +00:00
Ron Lee
77e1340840 Added separate import lib for msw .dlls
Removed useless mingw and cygwin options.
Fixed library naming for msw _gl and set 'unix' style names for cross
builds and 'windows' style for native builds.
Added $target to wx-config, and fixed lib/header dir exclusions.
Added -mwindows to wx-config output for gui libs.
Fixed wx-config to output import lib instead of dll for shared
msw builds.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 11:08:15 +00:00
Robert Roebling
2baaf735f4 Added Rez support to wx-config for MacOS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 10:06:24 +00:00
Ron Lee
3a922bb4bd More build system polishing.. mostly. Some stuff ported over from
recent changes to the 2.2 branch.

Rationalised the autoconf scripts again, removed lots of stuff that
shouldn't be there anymore and pounded the rest into an even tighter
furball. (There's more work to be done here, but we're getting there..)

Implemented the library naming scheme outlined in tn0012.txt -- introduced
'toolchain' and 'widget set' into the autoconf scripts, obsoleted the
top level wx/setup.h and much of the mess associated with it.

More changes for cross compiling and 2.3 debs.

s/burnt_name/soname/g ; s/CC/CXX/g ; s/CCC/CC/g ;  Just because it's Right.
(Thanks Vadim for already doing *FLAGS..)

Fixed libfl Makefile to actually work.

Removed *_DEPS from tmake templates, in every case they can be determined
from the relevant *_OBJS

Added BASE_MSW_OBJS, a couple of missing #includes, some missing files to
the 'dist' targets, and fixed some compile warnings.

Changed setup.py to use wx-config --gl-libs instead of hard coded constants.

 Modified Files:
 	Makefile.in configure configure.in setup.h.in wx-config.in
 	wxBase.spec wxGTK.spec wxMotif.spec
 	contrib/include/wx/applet/window.h contrib/src/Makefile.in
 	contrib/src/applet/appletwindow.cpp contrib/src/fl/Makefile.in
 	debian/changelog debian/control.in debian/libwxbase-dbg.dirs
 	debian/libwxbase-dbg.links debian/libwxbase-dbg.postinst
 	debian/libwxbase-dbg.prerm debian/libwxbase-dev.dirs
 	debian/libwxbase-dev.files debian/libwxbase-dev.links
 	debian/libwxbase-dev.postinst debian/libwxbase-dev.prerm
 	debian/libwxgtk-dbg.dirs debian/libwxgtk-dbg.links
 	debian/libwxgtk-dbg.postinst debian/libwxgtk-dbg.prerm
 	debian/libwxgtk-dev.dirs debian/libwxgtk-dev.files
 	debian/libwxgtk-dev.links debian/libwxgtk-dev.postinst
 	debian/libwxgtk-dev.prerm debian/rules
 	distrib/msw/tmake/base.t distrib/msw/tmake/gtk.t
 	distrib/msw/tmake/mgl.t distrib/msw/tmake/motif.t
 	distrib/msw/tmake/msw.t distrib/msw/tmake/os2.t
 	distrib/msw/tmake/univ.t docs/motif/install.txt
 	include/wx/msw/private.h include/wx/os2/SETUP.H
 	include/wx/os2/SETUP0.H samples/ipc/Makefile.in
 	samples/sockets/Makefile.in src/files.lst src/make.env.in
 	src/makelib.env.in src/makeprog.env.in src/common/strconv.cpp
 	src/gtk/files.lst src/mgl/files.lst src/motif/files.lst
 	src/msw/files.lst src/msw/gsocket.c src/msw/gsockmsw.c
 	src/msw/toplevel.cpp src/msw/utils.cpp src/os2/files.lst
 	src/univ/files.lst wxPython/setup.py
 Added Files:
 	debian/libwxbase-msw-dev.dirs debian/libwxbase-msw-dev.links
 	debian/libwxbase-msw-dev.postinst
 	debian/libwxbase-msw-dev.prerm debian/libwxmsw-dev.dirs
 	debian/libwxmsw-dev.links debian/libwxmsw-dev.postinst
 	debian/libwxmsw-dev.prerm debian/wxwin-doc.doc-base
 	debian/wxwin-headers-msw.dirs
 Removed Files:
 	debian/wxwin-doc.doc-base.in include/wx/setup.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 07:00:13 +00:00
Vadim Zeitlin
75f4be8a9b wx-config changes merged from the 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-03 20:26:27 +00:00
Vadim Zeitlin
cd093688ae fixed bug with wx-config --cflags not returning the code generation flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-28 18:38:34 +00:00
Bryan Petty
f6bcfd974e merged 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Vadim Zeitlin
6ce7355743 added --cc, cxx, ld options to wx-config
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 18:34:49 +00:00
Vadim Zeitlin
caa2c79b45 -fpermissive is now returned by wx-config -cflags if the library was compiled
with it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 17:11:09 +00:00
Robin Dunn
5e095c55f9 Fixed so user code (or wxPython) can include gtk/glib/X headers if needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 21:32:48 +00:00
Robert Roebling
9826157f41 ?jl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 16:42:26 +00:00
Robert Roebling
79144b8a47 More makefiles, distrib things,
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 09:44:18 +00:00
Robert Roebling
641d87d868 Many distribution things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-25 16:39:29 +00:00
Robert Roebling
2b6f061f0a Changed to libtool's interface vs. release versioning
make install works


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-05 20:42:19 +00:00
Vadim Zeitlin
c7114f5962 1. make install/uninstall seems to work
2. setup.h will be automatically updated/recreated when needed (due to
   automake stupidness I have to create the real setup.h in the top level
   build directory now)
3. wx-config --cflags gives -I@prefix@/include only once, not twice


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-02 12:03:19 +00:00
Vadim Zeitlin
717226c9c9 headers location fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-01 17:13:36 +00:00
Vadim Zeitlin
9a98a85452 second try...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-01 16:14:29 +00:00
Vadim Zeitlin
788008ebca second try...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-01 16:13:13 +00:00
Vadim Zeitlin
509a395608 include path to setup.h corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-01 15:51:40 +00:00
Vadim Zeitlin
88ac883a0d new makefiles (part I)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-01 15:32:12 +00:00
Vadim Zeitlin
29f7914424 old makefiles removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-01 15:13:27 +00:00
Karsten Ballüder
6a3ab8b15a Added the missing check for libw needed for wcslen() (Just defines in headers
don't fix such a problem.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-26 15:15:11 +00:00
Robert Roebling
d345e841da With the exceptions of DnD, wxGTk now works with
both GTK 1.0.6 and GTK 1.2.1 - the latter still
  produces warnings and blah.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-01 12:14:30 +00:00
Robert Roebling
b1a39f47f8 Removed warnings from tbarsimpl
Now wxSlider also works for negative values.
  wx-config reports 2.0.1
  made wxUSE_SOCKET default
  forgot to run autoconf


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-02 08:56:59 +00:00
Václav Slavík
2fff5f0811 added JPEG support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-03 13:43:04 +00:00
Robert Roebling
8c73964939 wxMotif now works with wx-config and make install
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-13 10:51:43 +00:00
Robert Roebling
83624f7960 Header changes (gtk.h etc no longer included in defs.h
but in *.cpp to speed up compilation (?) )


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-02 19:13:25 +00:00
Robert Roebling
8710cf5cab Compile and build fixes
Version update etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-31 21:58:16 +00:00
Robert Roebling
b46e869676 Added wxList:Nth check again
Added checks to wxImageList
  Made toolbar tips yellow
  Removed options from wx-config
  Added bitmaps to DialogEd tree ctrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-13 09:14:35 +00:00
Robert Roebling
4bb19cfb3a wx-config knows about compiler options
several tree ctrl bugs removed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-10 15:42:18 +00:00
Robert Roebling
d669c24159 Build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-03 16:41:41 +00:00
Robert Roebling
463c1fa1a9 wxWindow::ReParent()
wxDC::SetClippingRegio( region)
  lots if wxDC inline with wxPoint


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-03 15:14:45 +00:00
Robert Roebling
a802c3a1f6 Fixes for wxlist
improvements for DnD :-)
  moer dialog and frame fine tuning


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-26 07:11:24 +00:00
Robert Roebling
cb43b372fb Changed instal path for setup.h
changed socket stream inheritance to virtual
  removed a few more warnings from the samples
  corrected thread habdling in configure.in
  removed dancing sliders from scrollbars
  corrected notebook send event bug and added it
   the controls sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-12 17:18:12 +00:00
Robert Roebling
e55ad60e19 Updates to memcheck
Corrected and beautified memory (output)
  Fixed a few memory leaks
  Fixed resizing in in wxRadioBox
  Added many wxFAIL and wxASSERT
  Corrected other wxFAIL (removed from ..::Ok())
  Added wxBrush::Set..() functions
  Added CopyOnWrite support in GDI objects (Unshare)
  Disabled all occurences of WXDEBUG_NEW
  made clean, recompiled with mem_chcking on


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-11 09:05:26 +00:00
Karsten Ballüder
ab346a0c3f fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-09 09:06:30 +00:00
Karsten Ballüder
337d7956cc removed wxsetup.h from libdir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-09 09:00:54 +00:00