]> git.saurik.com Git - wxWidgets.git/blobdiff - configure.in
fix another MSVC /Wp64 warning about size_t to int conversion (closes #10140)
[wxWidgets.git] / configure.in
index 342a8a1c0b6aa42dd60e7e2c637a5da89da6e989..dec2bd7916893abfc4678dd33654a343308580f7 100644 (file)
@@ -7604,9 +7604,17 @@ AC_SUBST(UNICODE)
 AC_SUBST(BUILD)
 AC_SUBST(DEBUG_INFO)
 AC_SUBST(DEBUG_FLAG)
+TOOLKIT_LOWERCASE=xxx
 if test "$TOOLKIT" = "MAC"; then
     TOOLKIT_LOWERCASE=osx
-else
+fi
+if test "$TOOLKIT" = "OSX_CARBON"; then
+    TOOLKIT_LOWERCASE=osx
+fi
+if test "$TOOLKIT" = "OSX_COCOA"; then
+    TOOLKIT_LOWERCASE=osx
+fi
+if test "$TOOLKIT_LOWERCASE" = "xxx"; then
     TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[[A-Z]]' '[[a-z]]'`
 fi
 AC_SUBST(TOOLKIT_LOWERCASE)
@@ -7862,6 +7870,8 @@ dnl Add visibility support flags to CFLAGS/CXXFLAGS - do it this late so that
 dnl it doesn't affect compilation checks above
 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
+OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
+OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
 
 dnl for convenience, sort the samples in alphabetical order
 dnl