X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da6f998486f1070e205f2e0a54f22a1b67cb32a4..HEAD:/configure diff --git a/configure b/configure index 7697a87f25..33a41b441b 100755 --- 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" @@ -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; }