[glib] Use Cocoa header for Cocoa test instead of Foundation.



commit a147004b83ee48265e266e33da7656a3a09c7edb
Author: William Hua <william attente ca>
Date:   Tue Apr 17 23:49:47 2012 -0400

    Use Cocoa header for Cocoa test instead of Foundation.

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e9b389b..839b8a4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -178,7 +178,7 @@ AC_MSG_RESULT([$glib_have_carbon])
 glib_have_cocoa=no
 AC_MSG_CHECKING([for Mac OS X Cocoa support])
 AC_TRY_CPP([
-#include <Foundation/Foundation.h>
+#include <Cocoa/Cocoa.h>
 ], glib_have_cocoa=yes)
 
 AC_MSG_RESULT([$glib_have_cocoa])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]