[pulseaudio-discuss] [PATCH] build: fix Mac OS X configure process

rong deng dzrongg at gmail.com
Sun Jul 22 22:01:15 PDT 2012


2012/7/23 Arun Raghavan <arun.raghavan at collabora.co.uk>:
> On Thu, 2012-07-19 at 16:41 +0800, Deng Zhengrong wrote:
>> The original header file doesn't exist on Lion (10.7.4).
>> ---
>>  configure.ac |    5 ++++-
>>  1 files changed, 4 insertions(+), 1 deletions(-)
>>
>> diff --git a/configure.ac b/configure.ac
>> index 0290fa0..e600fba 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -473,7 +473,10 @@ if test "x$os_is_darwin" = "x1" ; then
>>      # 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],
>>          [LIBS="$LIBS -framework CoreServices"],
>> -        [AC_MSG_ERROR([CoreServices.h header file not found])]
>> +        [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_RESULT([ok])
>
> Wil this will work fine on previous versions of OS X?

Yes, it should, as in older versions, the current header file place is
still in the configure file and would be checked.


More information about the pulseaudio-discuss mailing list