[glib/glib-2-32] Do not detect GNUstep as Cocoa
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-32] Do not detect GNUstep as Cocoa
- Date: Fri, 20 Apr 2012 19:53:50 +0000 (UTC)
commit d161fcf3851c7d427deb32abecdd50ce95599a0b
Author: Alexandre Rostovtsev <tetromino gentoo org>
Date: Sun Apr 15 22:57:25 2012 -0400
Do not detect GNUstep as Cocoa
GNUstep also installs Foundation/Foundation.h
https://bugzilla.gnome.org/show_bug.cgi?id=674172
Signed-off-by: William Hua <william attente ca>
configure.ac | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index c5e112e..6a90d23 100644
--- a/configure.ac
+++ b/configure.ac
@@ -179,6 +179,9 @@ glib_have_cocoa=no
AC_MSG_CHECKING([for Mac OS X Cocoa support])
AC_TRY_CPP([
#include <Cocoa/Cocoa.h>
+#ifdef GNUSTEP_BASE_VERSION
+#error "Detected GNUstep, not Cocoa"
+#endif
], glib_have_cocoa=yes)
AC_MSG_RESULT([$glib_have_cocoa])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]