ObjFW  Check-in [1596518f9d]

Overview
Comment:Fix configure

Searching for an Objective-C compiler within a case makes autoconf
generate code that fails in interesting ways.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 1596518f9d9299f44380e65ff7f0b1b83a2009fb29c04162bb14cde841bf7060
User & Date: js on 2020-11-22 12:15:26
Other Links: manifest | tags
Context
2020-11-22
13:04
Fix configure for real check-in: e80c24128f user: js tags: trunk
12:15
Fix configure check-in: 1596518f9d user: js tags: trunk
00:33
socket.m: Fix #ifdef chaos check-in: 23ab7988f9 user: js tags: trunk
Changes

Modified configure.ac from [c2763df7ae] to [bb5a38c06f].

150
151
152
153
154
155
156
157
158
159
160
161
162





163
164
165
166
167
168
169
])

AC_LANG([Objective C])
case "$host_os" in
	morphos*)
		dnl Don't use clang on MorphOS - it does not support baserel,
		dnl which is required for the .library.
		AC_PROG_OBJC(gcc)
		;;
	*)
		AC_PROG_OBJC([clang egcc gcc])
		;;
esac





AC_PROG_OBJCPP
AC_PROG_LN_S
AC_PROG_INSTALL
AC_PROG_EGREP

BUILDSYS_CHECK_IOS








|


<


>
>
>
>
>







150
151
152
153
154
155
156
157
158
159

160
161
162
163
164
165
166
167
168
169
170
171
172
173
])

AC_LANG([Objective C])
case "$host_os" in
	morphos*)
		dnl Don't use clang on MorphOS - it does not support baserel,
		dnl which is required for the .library.
		disable_clang="yes"
		;;
	*)

		;;
esac
AS_IF([test x"$disable_clang" != x"yes"], [
	AC_PROG_OBJC([clang egcc gcc])
], [
	AC_PROG_OBJC(gcc)
])
AC_PROG_OBJCPP
AC_PROG_LN_S
AC_PROG_INSTALL
AC_PROG_EGREP

BUILDSYS_CHECK_IOS