]> git.saurik.com Git - wxWidgets.git/blobdiff - configure
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / configure
index 7b08f61762a8a492d8cec6366f11f8d8f377578e..33a41b441b21365a2b811c738edb21a0ba45eec5 100755 (executable)
--- a/configure
+++ b/configure
@@ -19413,6 +19413,7 @@ $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary
 
     OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
 
+    CPPFLAGS="$OSX_ARCH_OPTS $CPPFLAGS"
     CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
     CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
     OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
@@ -21867,7 +21868,7 @@ main ()
           __sync_fetch_and_add(&value, 2);
           __sync_sub_and_fetch(&value, 1);
           /* but wxAtomicDec does, so mimic that: */
-          unsigned int r2 = __sync_sub_and_fetch(&value, 1);
+          volatile unsigned int r2 = __sync_sub_and_fetch(&value, 1);
 
   ;
   return 0;
@@ -23186,8 +23187,7 @@ fi
     LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
     case "${host}" in
         x86_64-*-mingw32* )
-                                                WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
-        ;;
+                                                        ;;
     esac
     if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
         LIBS="$LIBS -loleacc"
@@ -29269,7 +29269,7 @@ rm -f core conftest.err conftest.$ac_objext \
             DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
             cat <<EOF >change-install-names
 #!/bin/sh
-libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
+libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
 changes=''
 for dep in \${libnames} ; do
     changes="\${changes} -change \${4}/\${dep} \${3}/\${dep}"
@@ -32629,8 +32629,6 @@ $as_echo "$wx_cv_type_abi_forced_unwind" >&6; }
 else
     if test "$wxUSE_THREADS" = "yes" ; then
       case "${host}" in
-        x86_64-*-mingw32* )
-        ;;
         *-*-mingw32* )
                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
 $as_echo_n "checking if compiler supports -mthreads... " >&6; }