ObjFW  Check-in [25df622287]

Overview
Comment:objfw-config: Include flags for fragile ABI.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | runtime
Files: files | file ages | folders
SHA3-256: 25df622287ea672ef53e18859e26a7ba0e87d050a8d4666e95417e3ebf0f9e6a
User & Date: js on 2012-04-22 16:18:35
Other Links: branch diff | manifest | tags
Context
2012-04-25
09:11
Remove useless GNU runtime warning check. check-in: 0dce5656f8 user: js tags: runtime
2012-04-22
16:18
objfw-config: Include flags for fragile ABI. check-in: 25df622287 user: js tags: runtime
16:12
Don't reexport libobjc when using ObjFW runtime. check-in: e05fff3653 user: js tags: runtime
Changes

Modified configure.ac from [ad8e5eacf0] to [18347e6817].

176
177
178
179
180
181
182
183
184

185
186
187




188
189
190
191
192
193
194
])
AC_MSG_RESULT($objc_runtime)

case $objc_runtime in
	"ObjFW runtime")
		AC_DEFINE(OF_OBJFW_RUNTIME, 1,
			[Whether we use the ObjFW runtime])
		AC_SUBST(GNU_RUNTIME, "-fgnu-runtime")
		OBJCFLAGS="$OBJCFLAGS -fgnu-runtime"


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





		AC_SUBST(RUNTIME, "runtime")
		if test x"$enable_shared" != x"no"; then
			AC_SUBST(RUNTIME_LIB_A, "runtime.lib.a")
			AC_SUBST(RUNTIME_RUNTIME_LIB_A, "runtime/runtime.lib.a")
		fi
		if test x"$enable_static" = x"yes" \







|

>


|
>
>
>
>







176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
])
AC_MSG_RESULT($objc_runtime)

case $objc_runtime in
	"ObjFW runtime")
		AC_DEFINE(OF_OBJFW_RUNTIME, 1,
			[Whether we use the ObjFW runtime])
		GNU_RUNTIME="-fgnu-runtime"
		OBJCFLAGS="$OBJCFLAGS -fgnu-runtime"
		RUNTIME_FLAGS="-fgnu-runtime"

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

		AC_SUBST(GNU_RUNTIME)

		AC_SUBST(RUNTIME, "runtime")
		if test x"$enable_shared" != x"no"; then
			AC_SUBST(RUNTIME_LIB_A, "runtime.lib.a")
			AC_SUBST(RUNTIME_RUNTIME_LIB_A, "runtime/runtime.lib.a")
		fi
		if test x"$enable_static" = x"yes" \