]> git.saurik.com Git - wxWidgets.git/blobdiff - configure.in
delete test added
[wxWidgets.git] / configure.in
index e58f95be1b771ec295fc0f370420f59097a1dd78..3e754bada36b2adbd6e5652ffa6048d4b7b264c4 100644 (file)
@@ -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}
@@ -4294,8 +4294,8 @@ AC_OUTPUT([
           [
             dnl don't move the file on itself - this happens when we run
             dnl config.status which, as configure, executes these commands
-            dnl but, unlike it, doesn't create wx-config
-            if test ! -L wx-config; then
+            dnl but, unlike it, doesn't create wx-config (which already
+            if test ! -f wx${TOOLKIT_NAME}-config; then
                 chmod +x wx-config
                 mv wx-config wx${TOOLKIT_NAME}-config
                 ${LN_S} wx${TOOLKIT_NAME}-config wx-config