From 818f6552506eb2e907f41bd9bd8c1ab2616bfd79 Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Thu, 24 Feb 2022 14:38:56 -0500 Subject: [PATCH] Make the ObjC support conditional to darwin. Fixes #9392 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4c774b0beab39..db690697857b4 100644 --- a/configure.ac +++ b/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...])