From efe35ee7600fa1497af4ae4ba3c8fb22936992f5 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Sequoia Date: Sat, 16 Jun 2015 02:32:01 -0700 Subject: [PATCH] configure.ac: Fix check for CoreServices.h Signed-off-by: Jeremy Huddleston Sequoia --- configure.ac | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index 9250c05..472f30f 100644 --- a/configure.ac +++ b/configure.ac @@ -533,13 +533,9 @@ AC_SEARCH_LIBS([backtrace], [execinfo ubacktrace]) # Darwin/OS X if test "x$os_is_darwin" = "x1" ; then AC_MSG_CHECKING([looking for Apple CoreService Framework]) - # How do I check a framework "library" - AC_CHECK_LIB prob. won't work??, just assign LIBS & hope - AC_CHECK_HEADER([/Developer/Headers/FlatCarbon/CoreServices.h], + AC_CHECK_HEADER([CoreServices/CoreServices.h], [LIBS="$LIBS -framework CoreServices"], - [AC_CHECK_HEADERS([/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h], - [LIBS="$LIBS -framework CoreServices"], - [AC_MSG_ERROR([CoreServices.h header file not found])] - )] + [AC_MSG_ERROR([CoreServices.h header file not found])] ) AC_MSG_RESULT([ok]) -- 2.8.1