Differences From Artifact [bb5a38c06f]:
- File
configure.ac
— part of check-in
[1596518f9d]
at
2020-11-22 12:15:26
on branch trunk
— Fix configure
Searching for an Objective-C compiler within a case makes autoconf
generate code that fails in interesting ways. (user: js, size: 50245) [annotate] [blame] [check-ins using]
To Artifact [a12670e6ad]:
- File
configure.ac
— part of check-in
[e80c24128f]
at
2020-11-22 13:04:38
on branch trunk
— 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. (user: js, size: 50222) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
150 151 152 153 154 155 156 | ]) 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. | | > < < < | < | 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. potential_compilers="gcc" ;; *) potential_compilers="clang egcc gcc" ;; esac AC_PROG_OBJC($potential_compilers) AC_PROG_OBJCPP AC_PROG_LN_S AC_PROG_INSTALL AC_PROG_EGREP BUILDSYS_CHECK_IOS |
︙ | ︙ |