[pulseaudio-commits] configure.ac

Arun Raghavan arun at kemper.freedesktop.org
Tue May 3 03:21:39 UTC 2016


 configure.ac |    8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

New commits:
commit 4f7ade31a9f4eebdef241b69657c92a9fb31268c
Author: Jeremy Huddleston Sequoia <jeremyhu at macports.org>
Date:   Tue Jun 16 02:32:01 2015 -0700

    build-sys: Fix check for CoreServices.h
    
    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at macports.org>
    Signed-off-by: Arun Raghavan <git at arunraghavan.net>

diff --git a/configure.ac b/configure.ac
index cac5eff..99b9ca5 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])



More information about the pulseaudio-commits mailing list