mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-16 08:56:40 -05:00
build: fix Mac OS X configure process
The original header file doesn't exist on Lion (10.7.4).
This commit is contained in:
parent
153e17e3bb
commit
7ce7464c16
1 changed files with 4 additions and 1 deletions
|
|
@ -499,8 +499,11 @@ if test "x$os_is_darwin" = "x1" ; then
|
||||||
AC_MSG_CHECKING([looking for Apple CoreService Framework])
|
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
|
# 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([/Developer/Headers/FlatCarbon/CoreServices.h],
|
||||||
|
[LIBS="$LIBS -framework CoreServices"],
|
||||||
|
[AC_CHECK_HEADERS([/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h],
|
||||||
[LIBS="$LIBS -framework CoreServices"],
|
[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])
|
AC_MSG_RESULT([ok])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue