Commit Graph

937 Commits

Author SHA1 Message Date
Julian Smart
5ec3bc4302 Regenerated configure for wxToolbook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 14:37:49 +00:00
Kevin Ollivier
7afc46abae Fixes for wxMac Universal binary support. With these changes, I now get a working Universal build simply by passing --enable-universal_build to configure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 23:54:31 +00:00
Stefan Neis
def7c04a01 Yet another try to fix NetBSD's problem with getservbyname_r.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-25 14:29:09 +00:00
Stefan Neis
728258f45f Testing if using -D_REENTRANT helps compiling socket code on NetBSD.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-23 20:47:58 +00:00
Michael Wetherell
d044deea91 Regenerate with gtk1 changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-23 12:11:50 +00:00
Mart Raudsepp
99879bbf15 Regenerate after latest changes to configure.in (GTK_NO_CHECK_CASTS removal for gtk2 and gsocket related identation
changes).
Does gsocket work still/now?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-16 15:45:19 +00:00
Mart Raudsepp
487af9c3b1 Regenerated after getaddr* fixes in configure.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-14 18:26:50 +00:00
Robert Roebling
20e34ecc5b Added configure flag for wxDataViewCtrl.
Currently defaults to "no".


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-08 21:23:35 +00:00
Robert Roebling
3565d13520 Added configure checks for Hildon Framework.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-08 21:18:16 +00:00
Michael Wetherell
9cbac6d19d Put back the warning flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 11:37:50 +00:00
Vadim Zeitlin
c92ad09968 put user-specified CPP/C/CXXFLAGS after the ones we set from configure to allow overriding them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 17:24:35 +00:00
Ron Lee
a55d039a23 Output deprecated warning for --rezflags and permanently disable it.
Remove WXCONFIG_POSTLINK_COMMAND that existed only for it.
Make the explanation more explanatory.  This is not an invitation
for stray options and script helpers to do a little 'open mike',
its a holding ground for nasty things we still need to fix.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 06:36:05 +00:00
Ron Lee
004ee6daa7 Fix include dirs for windres, enable emxbind to actually produce output,
restore RESCOMP for backward compatibility and forward availability.
Check for windres again.  Whatever bakefiles do with it, they do not
make it available to configure.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 05:17:05 +00:00
Vadim Zeitlin
8aeeb05c0e renaming of variables in rev 1.1090 introduced a clash between 2 different DEBUG_FLAG variables, so renamed the one containing debugging options for the compiler to DEBUG_CFLAGS to avoid it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-26 15:42:12 +00:00
David Elliott
8ced02f601 Ran make -f build/autogen.mk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-25 05:17:36 +00:00
Ron Lee
370d2fd7cc Minimal implementation of --rescomp option for wx-config,
required for building windows resource files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-23 05:10:09 +00:00
Vadim Zeitlin
bc6ee4ae7f fixed quoting in CPPFLAGS (last change broke the Unix build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-23 02:10:04 +00:00
Vadim Zeitlin
5ff751d600 autumn cleanup of configure:
1. we now consistently use WXCONFIG_C[PP|XX]_FLAGS instead of a mix of CODE_GEN_FLAGS
   plus tons of ad hoc variables (TOOLCHAIN_DEFS, WX_LARGEFILE_FLAGS, WXDEBUG_DEFINE
   and so on) which could all be simply removed now

2. output more stuff which used to be in CFLAGS only in wx-config output:
 a) pthread options (they are needed for user code compilation too)
 b) -D__STDC__EXT needed under HP-UX, this should finally fix the build there

3. also removed GCC_PRAGMA_FLAGS which is unused any more

4. use consitent naming for a couple of other variables


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-22 02:06:16 +00:00
Michael Wetherell
ab0f0eddc4 Use re_search directly instead of regexec when using the GNU regex lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 17:25:33 +00:00
Michael Wetherell
5c60e84569 Regenerate Makefile.in, configure and the VC++ project files after adding rcdefs.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 02:34:32 +00:00
Julian Smart
be665c07ab Regenerated configure for wxUSE_RICHTEXT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 14:23:18 +00:00
Michael Wetherell
91dea3144c Small changes to 'make dist' to allow it work on Solaris, and to use the
result of AC_PROG_LN_S when making links.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-20 19:48:26 +00:00
Michael Wetherell
3fc1adbd94 Implement string inserter for long long. This creates a problem on mingw as gcc
gives a warning unless -Wno-format is used, one of the most useful warnings.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-15 19:16:59 +00:00
Michael Wetherell
bcaab0f92e Use 'cp -pR' as a fallback for lndir, remove $(shell) construct from makefile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 16:29:02 +00:00
Vadim Zeitlin
583d6b4bd2 regenerated after bakefile change to always create shared-ld-sh under Darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 12:59:12 +00:00
Vadim Zeitlin
0093c2fc5f configure with wxUSE_TREEBOOK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 22:11:29 +00:00
Mattia Barbon
dee1a63ff5 Removed WXWIN_COMPATIBILITY_2_2 together with code guarded by it.
Changed default for WXWIN_COMPATIBILITY_2_4 to 0.
  Added WXWIN_COMPATIBILITY_2_6 (defaults to 1).
  Ran build/update-setup-h.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 15:48:42 +00:00
Vadim Zeitlin
2eef85139b don't use -single_module together with -bundle under Darwin (ld gives an error for this)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 12:49:09 +00:00
Vadim Zeitlin
a1aa0349f8 added dependencies support for DEC/Compaq/HP cxx compiler (new bakefile files; regenerated configure)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 15:33:10 +00:00
Vadim Zeitlin
3006edc092 optimization: don't test for various proprietary Unix compilers unless we're running under OS they support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-07 20:27:47 +00:00
Vadim Zeitlin
89d90d6d87 fixed bug in error message given if X headers/libs not found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-04 11:11:36 +00:00
Vadim Zeitlin
dd8df4fc9c updated version in configure to 2.7.0 too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-04 11:08:43 +00:00
Vadim Zeitlin
1c14217db4 added --without-subdirs option to speed up configure when you only need to build the main library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-03 18:19:10 +00:00
David Elliott
0ee4059da2 Ran bakefile -f autoconf and autoconf.
Some missing headers have been added, the *NODOT variables were
added to samples makefiles and the version changed from 2.6.2 to 2.7.0.
Generated configure now includes "OS/2" fixes per wxAutohacks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-01 03:42:14 +00:00
Vadim Zeitlin
123dca7d25 don't declare pthread_mutexattr_settype() ourselves if the system already does it, we might have a slightly different declaration and this causes problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 22:48:06 +00:00
Vadim Zeitlin
7f47faf4f2 disable warning about data truncation (810) for icc (this is a useful warning and might be reenabled later but for now there are simply too many of them...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 22:35:48 +00:00
Vadim Zeitlin
f536f00539 don't declare strptime() ourselves if the system already does it, we might have a slightly different declaration and this causes problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 22:34:03 +00:00
Vadim Zeitlin
48f625bc2c corrected typo in check for icc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:25:33 +00:00
Vadim Zeitlin
17a1ebd101 first round of Intel compiler warning fixes: down from a few thousands just to slightly more than 100
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 19:59:19 +00:00
Vadim Zeitlin
ab0ad5f175 add Intel compiler detection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 14:31:09 +00:00
Michael Wetherell
5001df0dd5 Fixups for solaris; remove '-mt' from pkg-config output and add '-lX11' for a static build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 07:12:02 +00:00
Vadim Zeitlin
254e8e2913 removed code defining NO_GCC_PRAGMA, we shouldn't need it any longer (alternatively, if user code requires it, we should always define it, but we still don't need any tests in configure)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 11:25:07 +00:00
Kevin Hock
6459a506bb Use CXXFLAGS rather than CFLAGS for -Werror when determining type of socket function parameter (socklen_t vs. int) so that OS X 10.2 will correctly determine the parameter as an int; using -Werror forces the warnings thrown when attempting size_t to make configure fall back to int.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 04:38:57 +00:00
Michael Wetherell
6f9cf1e6bd Regenerated after the lib64, lib/64 changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-19 20:48:59 +00:00
Vadim Zeitlin
c687b303a5 only check for lib directory for architectures which have multiple ABIs (Solaris, IRIX, Linux)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-19 10:28:55 +00:00
Vadim Zeitlin
7b94a67c64 fix to last commit: extra parentheses removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-19 00:54:41 +00:00
Vadim Zeitlin
f6b50c59ab fix for creation of shared libraries under AIX with gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-19 00:32:03 +00:00
Vadim Zeitlin
0ad5d837cb regenerated after latest changes: alternative standard library directory name support; SGI CC dependencies; ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-18 13:32:10 +00:00
Vadim Zeitlin
9122d155ab use -erroff=E_NO_EXPLICIT_TYPE_GIVEN option with Sun cc to avoid hundreds of warnings from Sun X11 headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-14 13:18:10 +00:00
David Elliott
8c80d38463 Use AC_CHECK_TOOL rather than AC_CHECK_PROG for AR, RANLIB, STRIP, RESCOMP,
and DLLTOOL.  This automatically searches for tools with a prefix of
"$host_alias-" when cross compiling then falls back to the unprefixed tool name
if that fails.  If the user specifies the tool using the appropriate variable
(e.g. CC, CXX, AR, RANLIB, STRIP, etc.) then it will be checked as is.

Removed the major hack that did something similar to this but simply
ignored user-provided variables and used default tool names.  For example,
CC was locked to $host_alias-gcc when cross compiling even if the user
specified CC on the configure command-line.

This brings wxWidgets in line with other autoconf 2.5x projects.  The only
downside to this approach is that our old method would fail if
$host_alias-toolname was not present whereas the autoconf method will silently
use the host compiler (which is usually _not_ what the user wants).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-09 22:17:09 +00:00