From 4f7ade31a9f4eebdef241b69657c92a9fb31268c Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Sequoia Date: Tue, 16 Jun 2015 02:32:01 -0700 Subject: build-sys: Fix check for CoreServices.h Signed-off-by: Jeremy Huddleston Sequoia Signed-off-by: Arun Raghavan --- configure.ac | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index cac5eff72..99b9ca5ed 100644 --- a/configure.ac +++ b/configure.ac @@ -538,13 +538,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]) -- cgit v1.2.1