projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a147004
)
Do not detect GNUstep as Cocoa
author
Alexandre Rostovtsev
<tetromino@gentoo.org>
Mon, 16 Apr 2012 02:57:25 +0000
(22:57 -0400)
committer
William Hua
<william@attente.ca>
Wed, 18 Apr 2012 04:00:29 +0000
(
00:00
-0400)
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
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
839b8a4
..
466cf43
100644
(file)
--- 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])