[glib/glib-2-32] Use Cocoa header for Cocoa test instead of Foundation.



commit 76627dc7b6f128517d7ee5208e8d2c18df779dd7
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 0c4e645..c5e112e 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]