176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
|
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])
AC_SUBST(GNU_RUNTIME, "-fgnu-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"])
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" \
|