Link with AppKit framework on MacOS X. This should enable X11 builds when

there is no SDL available (suggested by Dara Hazeghi)
This commit is contained in:
gbeauche 2006-03-14 22:14:13 +00:00
parent 7ee9cb43dc
commit 449c6496ff

View File

@ -495,6 +495,7 @@ AC_DEFUN([AC_CHECK_FRAMEWORK], [
]) ])
dnl Check for some MacOS X frameworks dnl Check for some MacOS X frameworks
AC_CHECK_FRAMEWORK(AppKit, [])
AC_CHECK_FRAMEWORK(Carbon, [#include <Carbon/Carbon.h>]) AC_CHECK_FRAMEWORK(Carbon, [#include <Carbon/Carbon.h>])
AC_CHECK_FRAMEWORK(IOKit, [#include <IOKit/IOKitLib.h>]) AC_CHECK_FRAMEWORK(IOKit, [#include <IOKit/IOKitLib.h>])
AC_CHECK_FRAMEWORK(CoreFoundation, [#include <CoreFoundation/CoreFoundation.h>]) AC_CHECK_FRAMEWORK(CoreFoundation, [#include <CoreFoundation/CoreFoundation.h>])