@@ -763,10 +763,16 @@ -o x"$enable_shared" = x"no"], [ AC_SUBST(OBJFW_BRIDGE_STATIC_LIB, "libobjfw-bridge.a") ]) ]) ]) + +case "$host" in + arm-apple-darwin*) + AC_DEFINE(OF_IOS, 1, [Whether we compile for iOS]) + ;; +esac AS_IF([test x"$GOBJC" = x"yes"], [ OBJCFLAGS="$OBJCFLAGS -Wwrite-strings -Wpointer-arith -Werror" AC_MSG_CHECKING(whether we have gcc bug objc/27438)