Commit Graph

505 Commits

Author SHA1 Message Date
Gilles Depeyrot
50bcbd3d0e corrected comments (should not be C++ style!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 21:04:29 +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
Gilles Depeyrot
85d5e282e9 -o flag must be after PIC flag for gcc under HPUX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 16:15:06 +00:00
Gilles Depeyrot
06313569d8 added -D_REENTRANT for hpux when threads are enabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 13:59:18 +00:00
Gilles Depeyrot
ad2622f15d corrected HPUX specific test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 12:28:30 +00:00
Vadim Zeitlin
ca8e52b3d2 don't use -mthreads switch if the compiler doesn't support it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 15:04:10 +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
Gilles Depeyrot
b2fee376fd disable Darwin GCC precompiled headers by default also for wxBase
integrate includes into preprocessor flags instead of both C and C++ flags


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 20:13:19 +00:00
Ron Lee
a85030bd90 sorry, removing /usr/include breaks the macros we use to detect -lGL and co.
They'll need to be fixed first if this really is the right fix.  (and I'm not
sure what the original problem was, so...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 04:43:37 +00:00
Vadim Zeitlin
ce209cf15b removed /usr/include from SEARCH_INCLUDE -- this should fix wxMotif/AIX compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 20:10:21 +00:00
Vadim Zeitlin
f02444d0d7 define _FILE_OFFSET_BITS/_LARGE_FILES on the compiler command line instead of wx/setup.h to make sure they're always defined when needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 19:53:54 +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
Julian Smart
3bce6687f4 Mods for Wine compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 20:34:27 +00:00
Mattia Barbon
6969f178bf Forgot to run autoconf before committing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 20:18:06 +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
Vadim Zeitlin
247f500613 streamlined vsnprintf() check -- now that we fall back to our own printf() version anyhow in some cases it doesn't make sense to jump through all these hoops just to avoid it (and, besides, it didn't work anyhow); suppressed vprintf() and vsscanf() checks which results we never used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 18:15:43 +00:00
Mattia Barbon
8284b0c5bd Detect if g++ requires -fvtable-thunks for COM interfaces.
Newer g++ does not require nor support it, so it must not be used.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-26 20:44:50 +00:00
Robert Roebling
5c6fa7d283 Added configure check for vswprintf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 20:26:18 +00:00
Vadim Zeitlin
d74f4b5add added tests for fputwc() and wprintf()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 17:12:10 +00:00
Vadim Zeitlin
dd0e4a9047 fix wxMotif sample program compile test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 17:43:51 +00:00
Vadim Zeitlin
79bbbd1bc3 added propsize to the list of samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 18:41:23 +00:00
Vadim Zeitlin
f459d460ea removed (broken) richedit sample from the list of samples to build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 15:21:26 +00:00
Julian Smart
bb811f17f0 -enable-mdi for X11 now works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 10:01:52 +00:00
Julian Smart
52127426a1 First cut at socket support in wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 22:19:37 +00:00
Robert Roebling
7b4a847fb9 Exchanged compile flags so that local include paths
are used before others (such as PangoFT2'2).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 17:18:09 +00:00
Vadim Zeitlin
b13cd66e42 only test for pangoft2 if we're using GTK 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 10:28:12 +00:00
Václav Slavík
f09359cf1b fixed pangoft2 check: moved outsided cached block
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 23:10:26 +00:00
Vadim Zeitlin
5c0a20c393 minor fixes:
1. removed "We already do it" as "We" is not a valid shell command :-)
2. define _GNU_SOURCE in setup.h and not in the compiler flags
3. allow to build with GTK2 without pangoft2 (and without printing then)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 12:26:31 +00:00
Václav Slavík
579d81381e added pangoft2 check to configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 22:13:21 +00:00
Robert Roebling
328a083c69 Added -lpangoft2-1.0 to link line.
Added _GNU_SOURCE to compile line.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 19:47:34 +00:00
Václav Slavík
43d99b6dc0 fixed broken test in configure: no, DJGPP really is not UNIX...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 18:23:40 +00:00
Mattia Barbon
6a30f1c8ae Check if linking a motif program requires -lXp and/or -lSM -lICE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 17:27:52 +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
Václav Slavík
24f5e003c2 explicitly pass -lstdc++ to the linker in case of DJGPP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 19:21:50 +00:00
Mattia Barbon
17234b2644 Allow compiling wxMotif/GTK/X11 for Cygwin/XFree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-17 16:58:05 +00:00
Vadim Zeitlin
986ecc861c added wxEXPLICIT macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-16 12:03:44 +00:00
Václav Slavík
6c657b5253 wxMGL features detection fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 22:56:42 +00:00
Vadim Zeitlin
1d1b75ace9 fix linking on AIX/RS6000 by using -mminimal-toc option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 22:41:29 +00:00
Chris Elliott
2e033fd123 make path absolute to install-sh, to fix contrib lib bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-28 08:50:40 +00:00
Vadim Zeitlin
321d2b146b (blind) fixes for AIX: shared library extension there is apparently ".a", not ".so"; look for makeC++SharedLib in the PATH instead of hard coded location
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-27 14:29:59 +00:00
Gilles Depeyrot
21d1c967d7 moved header detections before sizeof detections since some headers are
conditionally used in the sizeof detections


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-19 20:25:10 +00:00
Vadim Zeitlin
5a5d3c080f oops, typo in the large file support just checked in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-17 15:51:28 +00:00
Vadim Zeitlin
90dd450cf3 added configure support for the large files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-17 15:44:11 +00:00
Vadim Zeitlin
efdc61a680 fixed glibc 2.1 detection test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 00:34:01 +00:00
Vadim Zeitlin
57973b9c8a pass IF_GNU_MAKE and other configure params to the samples configure in wxUSE_GUI==0 case too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-18 23:33:48 +00:00
Gilles Depeyrot
a1ea505561 use built-in wcslen instead of disabling wide character support for Darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 05:41:51 +00:00
Gilles Depeyrot
62cc730f58 no timezone variable is only a warning instead of an error (use tm_gmtoff
instead, in particular for Darwin / Mac OS X)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 08:49:36 +00:00
Vadim Zeitlin
7a30264c3f don't test for msvcrt under Unix nor libw under Windows in wcslen() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 14:41:42 +00:00
Vadim Zeitlin
d29b553b85 don't define wxUSE_WCHAR_T on systems without wcslen(), don't check for wchar_t twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 18:21:23 +00:00
Vadim Zeitlin
be505a65a5 set OPENGL_LIBS when x-compiling for MSW (patch from Fabian Wenzel)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 12:53:49 +00:00