ObjFW  Check-in [e80c24128f]

Overview
Comment:Fix configure for real

The else branch of AS_IF was still not working, so instead of wrapping
AC_PROG_OBJC in anything, build a list of potential compilers in a
variable and use that as an argument for AC_PROG_OBJC.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: e80c24128f3f80493deca1d6483c8064f706b5185e0b52a66301462829850cf0
User & Date: js on 2020-11-22 13:04:38
Other Links: manifest | tags
Context
2020-11-22
15:34
runtime: Pass errno to Amiga library check-in: 7b030dc66c user: js tags: trunk
13:04
Fix configure for real check-in: e80c24128f user: js tags: trunk
12:15
Fix configure check-in: 1596518f9d user: js tags: trunk
Changes

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

150
151
152
153
154
155
156
157

158
159

160
161
162
163
164
165

166
167
168
169
170
171
172
173
150
151
152
153
154
155
156

157
158
159
160
161
162




163

164
165
166
167
168
169
170







-
+


+


-
-
-
-
+
-







])

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"
		potential_compilers="gcc"
		;;
	*)
		potential_compilers="clang egcc gcc"
		;;
esac
AS_IF([test x"$disable_clang" != x"yes"], [
	AC_PROG_OBJC([clang egcc gcc])
], [
	AC_PROG_OBJC(gcc)
AC_PROG_OBJC($potential_compilers)
])
AC_PROG_OBJCPP
AC_PROG_LN_S
AC_PROG_INSTALL
AC_PROG_EGREP

BUILDSYS_CHECK_IOS