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

Colin Guthrie gmane at colin.guthr.ie
Sat Nov 3 13:05:40 PDT 2012


'Twas brillig, and Deng Zhengrong at 19/07/12 10:41 did gyre and gimble:
> 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])
> 

Ahh, this is likely the patch I asked after in an earlier reply :)

It looks harmless to me in terms of regressions, so applied in my tree.

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the pulseaudio-discuss mailing list