provide option to disable use of precompiled headers (Mac OS X)

this is useful for tinderboxes where the errors produced by the Apple
Developer Tools make it difficult to sort through the logs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot 2001-10-10 21:47:12 +00:00
parent 908381536e
commit 683dccdaeb
2 changed files with 679 additions and 632 deletions

1300
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -641,6 +641,7 @@ if test $DEBUG_CONFIGURE = 1; then
DEFAULT_wxUSE_MEM_TRACING=no
DEFAULT_wxUSE_DEBUG_CONTEXT=no
DEFAULT_wxUSE_DMALLOC=no
DEFAULT_wxUSE_PRECOMP=yes
DEFAULT_wxUSE_APPLE_IEEE=no
DEFAULT_wxUSE_LOG=yes
@ -802,6 +803,7 @@ else
DEFAULT_wxUSE_MEM_TRACING=no
DEFAULT_wxUSE_DEBUG_CONTEXT=no
DEFAULT_wxUSE_DMALLOC=no
DEFAULT_wxUSE_PRECOMP=yes
DEFAULT_wxUSE_APPLE_IEEE=yes
DEFAULT_wxUSE_LOG=yes
@ -1011,6 +1013,9 @@ WX_ARG_ENABLE(soname, [ --enable-soname set the DT_SONAME field in
WX_ARG_ENABLE(optimise, [ --enable-optimise create optimised code], wxUSE_OPTIMISE)
WX_ARG_ENABLE(debug, [ --enable-debug same as debug_flag and debug_info], wxUSE_DEBUG)
dnl allow the precompiled header option to be disabled under Mac OS X
WX_ARG_ENABLE(precomp, [ --enable-precomp enable use of precompiled headers (Mac OS X)], wxUSE_PRECOMP)
if test "$wxUSE_DEBUG" = "yes"; then
DEFAULT_wxUSE_DEBUG_FLAG=yes
DEFAULT_wxUSE_DEBUG_INFO=yes
@ -1948,14 +1953,16 @@ equivalent variable and GTK+ is version 1.2.3 or above.
GUIDIST=MOTIF_DIST
fi
dnl we can't call this MAC_DIST or autoconf thinks its a macro
if test "$wxUSE_MAC" = 1; then
CPPFLAGS="${CPPFLAGS} -cpp-precomp"
if test "$wxUSE_PRECOMP" = "yes"; then
CPPFLAGS="${CPPFLAGS} -cpp-precomp"
fi
CFLAGS="${CFLAGS} -fpascal-strings"
CXXFLAGS="${CXXFLAGS} -fpascal-strings"
TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -DTARGET_CARBON"
TOOLKIT=MAC
dnl we can't call this MAC_DIST or autoconf thinks its a macro
GUIDIST=MACX_DIST
fi