diff options
-rw-r--r-- | configure.ac | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index cac5eff72..99b9ca5ed 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]) |