summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@macports.org>2015-06-16 02:32:01 -0700
committerArun Raghavan <git@arunraghavan.net>2016-05-03 08:51:26 +0530
commit4f7ade31a9f4eebdef241b69657c92a9fb31268c (patch)
tree16f5d0c61082bc0e1dfaf969dbafa4fcdb147677
parent1a1d5086ade973a23872ac1cd42cd9d36943b71c (diff)
downloadpulseaudio-4f7ade31a9f4eebdef241b69657c92a9fb31268c.tar.gz
build-sys: Fix check for CoreServices.h
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org> Signed-off-by: Arun Raghavan <git@arunraghavan.net>
-rw-r--r--configure.ac8
1 files 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])