Make the ObjC support conditional to darwin.

Fixes #9392
pull/9549/head
Thomas Van Lenten 3 years ago
parent e8470340e0
commit 6a77c9bab4
  1. 2
      configure.ac

@ -80,7 +80,7 @@ AC_LANG([C++])
ACX_USE_SYSTEM_EXTENSIONS
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
AM_CONDITIONAL(GCC, test "$GCC" = yes) # let the Makefile know if we're gcc
AC_PROG_OBJC
AS_CASE([$target_os], [darwin*], [AC_PROG_OBJC], [AM_CONDITIONAL([am__fastdepOBJC], [false])])
# test_util.cc takes forever to compile with GCC and optimization turned on.
AC_MSG_CHECKING([C++ compiler flags...])

Loading…
Cancel
Save