ObjFW  Diff

Differences From Artifact [b749be0f9f]:

  • File configure.ac — part of check-in [8602025532] at 2013-12-05 21:26:32 on branch trunk — Check for iOS in configure instead of macros.h.

    The initial reason to do this in macros.h was that it would be
    theoretically possible to do a universal build targeting OS X and iOS,
    but in practice, they are too different as they use a different SDK,
    therefore this does not make much sense. (user: js, size: 23265) [annotate] [blame] [check-ins using]

To Artifact [b90f758119]:


213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
			RUNTIME_FLAGS="-fobjc-runtime=objfw"
			AC_MSG_RESULT(yes)
		], [
			RUNTIME_FLAGS="-fgnu-runtime"
			OBJCFLAGS="$old_OBJCFLAGS -fgnu-runtime"
			AC_MSG_RESULT(no)
			old_compiler="yes"

			AX_CHECK_COMPILER_FLAGS(-fno-objc-nonfragile-abi, [
				flag="-fno-objc-nonfragile-abi"
				OBJCFLAGS="$OBJCFLAGS $flag"
				RUNTIME_FLAGS="$RUNTIME_FLAGS $flag"
			])
		])

		AC_SUBST(RUNTIME, "runtime")
		AC_SUBST(RUNTIME_FLAGS)

		if test x"$enable_shared" != x"no"; then
			AC_SUBST(RUNTIME_LIB_A, "runtime.lib.a")







<
<
<
<
<
<







213
214
215
216
217
218
219






220
221
222
223
224
225
226
			RUNTIME_FLAGS="-fobjc-runtime=objfw"
			AC_MSG_RESULT(yes)
		], [
			RUNTIME_FLAGS="-fgnu-runtime"
			OBJCFLAGS="$old_OBJCFLAGS -fgnu-runtime"
			AC_MSG_RESULT(no)
			old_compiler="yes"






		])

		AC_SUBST(RUNTIME, "runtime")
		AC_SUBST(RUNTIME_FLAGS)

		if test x"$enable_shared" != x"no"; then
			AC_SUBST(RUNTIME_LIB_A, "runtime.lib.a")