From: Gilles Depeyrot Date: Sat, 23 Jun 2001 17:21:40 +0000 (+0000) Subject: added -cpp-precomp option for c++ compiler under Mac OS X so that X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0c451ef3bbf4521ae340d60309a47bb9caaeec7f added -cpp-precomp option for c++ compiler under Mac OS X so that precompiled system headers are used (compilation is twice as fast!) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/configure b/configure index 2c20ae7d22..4ed11022ad 100755 --- a/configure +++ b/configure @@ -13164,7 +13164,7 @@ fi if test "$wxUSE_MAC" = 1 ; then TOOLKIT_DEF="${TOOLKIT_DEF} -D__UNIX__ -D__POWERPC__ -DTARGET_CARBON" CFLAGS="${CFLAGS} -fno-common -fpascal-strings" - CPPFLAGS="${CPPFLAGS} -fno-common -fpascal-strings" + CPPFLAGS="${CPPFLAGS} -cpp-precomp -fno-common -fpascal-strings" # Extract the first word of "Rez", so it can be a program name with args. set dummy Rez; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 diff --git a/configure.in b/configure.in index 13cf15da31..3e754bada3 100644 --- a/configure.in +++ b/configure.in @@ -2971,7 +2971,7 @@ fi if test "$wxUSE_MAC" = 1 ; then TOOLKIT_DEF="${TOOLKIT_DEF} -D__UNIX__ -D__POWERPC__ -DTARGET_CARBON" CFLAGS="${CFLAGS} -fno-common -fpascal-strings" - CPPFLAGS="${CPPFLAGS} -fno-common -fpascal-strings" + CPPFLAGS="${CPPFLAGS} -cpp-precomp -fno-common -fpascal-strings" AC_CHECK_PROG(REZ, Rez, Rez, /Developer/Tools/Rez) AC_CHECK_PROG(DEREZ, Derez, Derez, /Developer/Tools/Derez) RESCOMP=${REZ}