Use Cocoa header for Cocoa test instead of Foundation.

This commit is contained in:
William Hua 2012-04-17 23:49:47 -04:00
parent 7f5f47ae15
commit a147004b83

View File

@ -178,7 +178,7 @@ AC_MSG_RESULT([$glib_have_carbon])
glib_have_cocoa=no glib_have_cocoa=no
AC_MSG_CHECKING([for Mac OS X Cocoa support]) AC_MSG_CHECKING([for Mac OS X Cocoa support])
AC_TRY_CPP([ AC_TRY_CPP([
#include <Foundation/Foundation.h> #include <Cocoa/Cocoa.h>
], glib_have_cocoa=yes) ], glib_have_cocoa=yes)
AC_MSG_RESULT([$glib_have_cocoa]) AC_MSG_RESULT([$glib_have_cocoa])