mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
build-sys: Fix check for CoreServices.h
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org> Signed-off-by: Arun Raghavan <git@arunraghavan.net>
This commit is contained in:
parent
1a1d5086ad
commit
4f7ade31a9
1 changed files with 2 additions and 6 deletions
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue