mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 23:46:17 +01:00
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>
This commit is contained in:
parent
a147004b83
commit
b3f814883f
@ -179,6 +179,9 @@ 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 <Cocoa/Cocoa.h>
|
#include <Cocoa/Cocoa.h>
|
||||||
|
#ifdef GNUSTEP_BASE_VERSION
|
||||||
|
#error "Detected GNUstep, not Cocoa"
|
||||||
|
#endif
|
||||||
], glib_have_cocoa=yes)
|
], glib_have_cocoa=yes)
|
||||||
|
|
||||||
AC_MSG_RESULT([$glib_have_cocoa])
|
AC_MSG_RESULT([$glib_have_cocoa])
|
||||||
|
Loading…
Reference in New Issue
Block a user