]> git.saurik.com Git - wxWidgets.git/blobdiff - configure
move define to better place
[wxWidgets.git] / configure
index e3a162a23aac17cb70e58dbfa59c371d3b61432f..c29078fe4b09e4f5650697f8ad3eff59a29d3500 100755 (executable)
--- a/configure
+++ b/configure
@@ -34906,9 +34906,16 @@ int
 main ()
 {
 
-                    #if !defined(__GNUC__) || !defined(__GNUC_MINOR__) || \
-                        (__GNUC__ < 3) || (__GNUC__ == 3 && __GNUC_MINOR__ < 4)
-                            #error "no pch support"
+                    #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
+                        #error "no pch support"
+                    #endif
+                    #if (__GNUC__ < 3)
+                        #error "no pch support"
+                    #endif
+                    #if (__GNUC__ == 3) && \
+                       ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
+                       ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
+                        #error "no pch support"
                     #endif
 
   ;
@@ -35447,10 +35454,13 @@ else
         powerpc-*-darwin* )
                                     CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
             ;;
-        *)
-            ;;
     esac
 fi
+case "${host}" in
+    powerpc-*-darwin* )
+                        CODE_GEN_FLAGS_CXX="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
+        ;;
+esac
 
 
 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"