Moved AC_PROG_OBJC out of conditional.

pull/111/head
Micah Snyder 6 years ago
parent 5bd5e9ec1c
commit 5f71cae2f2
  1. 6
      configure.ac

@ -157,7 +157,10 @@ else
mspack_msg="External, $LIBMSPACK_CFLAGS $LIBMSPACK_LIBS" mspack_msg="External, $LIBMSPACK_CFLAGS $LIBMSPACK_LIBS"
fi fi
# Detect the target system dnl Enable Objective-C, needed for macOS, may not be inside conditional.
AC_PROG_OBJC
dnl Detect the target system
build_linux=no build_linux=no
build_windows=no build_windows=no
build_mac=no build_mac=no
@ -167,7 +170,6 @@ case "${host_os}" in
build_windows=yes build_windows=yes
;; ;;
darwin*) darwin*)
AC_PROG_OBJC
build_mac=yes build_mac=yes
;; ;;
*) *)

Loading…
Cancel
Save