tAlways check for Objective C - vaccinewars - be a doctor and try to vaccinate … | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 5c386c4f9e1a127012940dac10ce33ec14f23eb0 | |
parent 48ba9b282a4425b50032204206e7ad37436db7f0 | |
Author: Ben Webb <[email protected]> | |
Date: Sat, 7 Nov 2020 00:47:27 -0800 | |
Always check for Objective C | |
If we only check for Objective C when the Mac Cocoa sound | |
driver is requested, configure fails with the error | |
"configure: error: conditional "am__fastdepOBJC" was never defined." | |
Diffstat: | |
M configure.ac | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/configure.ac b/configure.ac | |
t@@ -18,6 +18,7 @@ AC_CANONICAL_HOST | |
dnl Checks for programs. | |
AC_PROG_CC | |
+AC_PROG_OBJC | |
AC_ISC_POSIX | |
AC_PROG_INSTALL | |
AC_PROG_MAKE_SET | |
t@@ -201,7 +202,6 @@ else | |
dnl Add Cocoa (Mac) sound support if available | |
if test "$USE_COCOA" != "no"; then | |
- AC_PROG_OBJC | |
if test "x$OBJC" != "x"; then | |
AC_LANG_PUSH([Objective C]) | |
AC_CHECK_HEADERS(AppKit/AppKit.h, [HAVE_APPKIT="1"], [HAVE_APPKIT="0"]) |