... | ... |
@@ -157,7 +157,10 @@ else |
157 | 157 |
mspack_msg="External, $LIBMSPACK_CFLAGS $LIBMSPACK_LIBS" |
158 | 158 |
fi |
159 | 159 |
|
160 |
-# Detect the target system |
|
160 |
+dnl Enable Objective-C, needed for macOS, may not be inside conditional. |
|
161 |
+AC_PROG_OBJC |
|
162 |
+ |
|
163 |
+dnl Detect the target system |
|
161 | 164 |
build_linux=no |
162 | 165 |
build_windows=no |
163 | 166 |
build_mac=no |
... | ... |
@@ -167,7 +170,6 @@ case "${host_os}" in |
167 | 167 |
build_windows=yes |
168 | 168 |
;; |
169 | 169 |
darwin*) |
170 |
- AC_PROG_OBJC |
|
171 | 170 |
build_mac=yes |
172 | 171 |
;; |
173 | 172 |
*) |