Commit Graph

424 Commits

Author SHA1 Message Date
Ron Lee
7b7a763758 Added UNIV_DIST target.
Fixed hp-hpux lib build targets.
Enabled cygwin cross compilation for 2.3 too.
Fixed SONAME_FLAGS for solaris.
Fixed PIC_FLAG for mingw.
Added first draft of wxUNIV debs.
Removed obsolete src/makeenvs/*


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 21:36:16 +00:00
Gilles Depeyrot
334f0d2c11 corrected VPATH for wxMotif toolkit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 17:03:50 +00:00
Gilles Depeyrot
077c564202 reverted unwanted change to -MMD compilation option in previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 15:54:21 +00:00
Gilles Depeyrot
d08b457ba8 corrected static library configuration for Darwin/Mac OS X
Mac OS X resource related corrections


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 15:48:50 +00:00
Vadim Zeitlin
d275c7eb84 added wxUSE_PALETTE and fixed compilation with it set to 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:06:39 +00:00
Vadim Zeitlin
b3e8d00ab0 1. made description of some options in configure [hopefully] more readable
2. got rid of --enable-wcsrtombs option, configure can find it out itself


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 13:34:12 +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
Václav Slavík
c981cbe951 configure now defines _WIN_IE if w32api is at least 1.1 (1.0 is not complete enough for wxWin)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 16:17:09 +00:00
Vadim Zeitlin
dd4f7467b2 fix for shared library build under SGI with native compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-20 19:28:20 +00:00
Vadim Zeitlin
55e80573e2 changes to shared library options code and to allow building them with Intel compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 18:17:11 +00:00
Gilles Depeyrot
e33ef6614e generalized fix for clipboard code compilation configuration check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-28 19:45:52 +00:00
Vadim Zeitlin
673f4220ba fix for wxGTK clipboard code compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-27 14:29:34 +00:00
Vadim Zeitlin
2b9bdf7146 don't try compile wxClipboard without OLE support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 20:13:45 +00:00
Vadim Zeitlin
52e8b69060 statfs() detection for wxGetDiskSpace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 16:55:06 +00:00
Vadim Zeitlin
b48da8024d Define _GNU_SOURCE instead of _XOPEN_SOURCE (which breaks libtiff compilation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-09 01:20:12 +00:00
Vadim Zeitlin
06dda230f6 fixed wxINSTALL_PREFIX setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 23:59:41 +00:00
Vadim Zeitlin
7e67ed0df4 moved wxINSTALL_PREFIX from CPPFLAGS to setup.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 23:46:39 +00:00
Vadim Zeitlin
776862b497 1. fixed test in configure for gettimeofday() argument
2. portability fixes in wxSingleInstanceChecer (use S_IRUSR, not S_IREAD)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 23:35:17 +00:00
Vadim Zeitlin
a3cb1afc37 1. next attempt to fix RH 7.1 build
2. CPPFLAGS are the flags for cpp, not for c++ compiler!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 22:52:53 +00:00
Vadim Zeitlin
2389f33bb4 fixed errors in glibc test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 16:44:05 +00:00
Vadim Zeitlin
c39c53e9fc oops, last check in undone - there is a problem somewhere there...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 16:41:57 +00:00
Vadim Zeitlin
ab252f7b29 attempts to fix recursive mutex initialized detection under RedHat 7.1 (new glibc)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 16:38:37 +00:00
Vadim Zeitlin
cbca994306 added wxUSE_SPLASH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 12:19:35 +00:00
Vadim Zeitlin
18dbb1f630 applied patch 446009 (DLL cross compilation using mingw32)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 18:58:52 +00:00
Václav Slavík
6b076b4034 SHARED_LD must be CXX, not CC, otherwise we get unresolved
externals (at least with gcc3) if app binary wasn't linked with CXX. This may
happen for instance when dynamically loading wxPython module.
(Let's change it for all platforms, not only Linux, and see what happens.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 23:06:46 +00:00
Vadim Zeitlin
8db37e0699 added generic implementation and documentation for wxFindReplaceDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 14:55:03 +00:00
Vadim Zeitlin
6853365e97 reverted my previous change to WINVER - it is already defined elsewhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-24 17:08:28 +00:00
Gilles Depeyrot
24176f2c11 added property sheet option
corrected tree layout option
corrected samples list configuration


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 19:36:05 +00:00
Gilles Depeyrot
7b6058cd87 corrected bad Darwin related configure test
implemented OpenGL configuration for Mac OS X
added WX_TARGET_LIBRARY_GL to config cache


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-21 06:45:33 +00:00
Vadim Zeitlin
3f0f016135 define WINVER for mingw32 cross compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-20 11:58:54 +00:00
Vadim Zeitlin
6ff77d3395 fix for missing wxUSE_DARWIN definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-19 20:44:34 +00:00
Václav Slavík
031d8228bb (1) removed -lcrtdll from Mingw build
(it was plainly wrong thing, gcc is supposed to link against C library
automatically... and it broke binaries produced with MSVCRT version of Mingw)
(2) fixed typo in MS_HTML_HELP check
(3) added (back?) WXHTML_HELP checks to configure


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-18 22:58:33 +00:00
Gilles Depeyrot
f11bdd03b9 modified configure to allow configuration of wxMotif under Darwin/Mac OS X
wxWindows can be configured as wxMac or wxMotif under Mac OS X
replaced __WXMAC_X__ define by __DARWIN__ (general Darwin related issues)
moved dlopen/dlerror code to dynlib.cpp to make it available for wxMotif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-15 18:47:13 +00:00
Vadim Zeitlin
0b2effe954 fixes for wxBase build with configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 17:10:54 +00:00
Vadim Zeitlin
831b3152e8 fixed wxBase makefile generation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 13:51:32 +00:00
Vadim Zeitlin
3e44f09d77 added detection of regex support to configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 13:13:59 +00:00
Václav Slavík
29fd3c0cc1 fixed windows.h check and added checks for MS HTML Help
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 22:30:12 +00:00
Julian Smart
0cbff1201a Added wxUSE_DC_CACHEING and associated code to wxMSW
Added EnableCache, CacheEnabled to wxDCBase
Added mask source args to DoBlit, Blit
Added cache testing code to dragimag sample
Added wxSystemOptions, regenerated makefiles


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 10:07:06 +00:00
Václav Slavík
d4158b5d93 added check for w32api.h to configure (so that libjpeg works when cross-compiling)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 22:39:58 +00:00
Václav Slavík
4f11a3437b 1. configure now checks first for timezone, then _timezone and
then __timezone, so that we don't use glibc's internal variable whenever possible
2. added wxUSE_OLE so that MSW compiles with Mingw32


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-08 22:52:59 +00:00
Gilles Depeyrot
6abe4b6540 configure without popup windows under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-08 18:58:53 +00:00
Robert Roebling
9f41d60156 Added wxPopupWindow to GTK port, wxComboBox had to
be adapted a little but basically works not under
  GTK/Univ.
  I am pretty sure I forgot some file...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 21:42:30 +00:00
Vadim Zeitlin
879df07384 fix to include correct files.lst for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 17:25:04 +00:00
Vadim Zeitlin
3379ed3789 tons of fixes for wxGTK/Univ - seems to work, more or less, now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-03 19:38:19 +00:00
Vadim Zeitlin
d1a8d972ea define WXGTK12 for GTK+ 1.2.7+ as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 18:01:24 +00:00
Vadim Zeitlin
6c01ec02a8 incremented version to 2.3.2 in configure as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 15:42:14 +00:00
Vadim Zeitlin
f33f19dd2e set wxUSE_WIZARDDLG by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 15:26:32 +00:00
Vadim Zeitlin
b1f5d087c7 respect wxUSE_WIZARDDLG setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 12:57:56 +00:00
Vadim Zeitlin
24fd6d87e9 changed wxUSE_DRAGIMAG to wxUSE_DRAGIMAGE and use it everywhere now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 10:39:00 +00:00
Vadim Zeitlin
d73be7149f define wxUSE_LOGGUI/WINDOW by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 10:35:58 +00:00