configure.ac: fix OSX host check
authorMatthieu Bouron <matthieu.bouron@collabora.com>
Wed, 26 Mar 2014 17:14:40 +0000 (17:14 +0000)
committerEdward Hervey <edward@collabora.com>
Thu, 27 Mar 2014 06:44:33 +0000 (07:44 +0100)
Makes the check works with (i386|x86_64)-apple-darwin* hosts.

https://bugzilla.gnome.org/show_bug.cgi?id=727104

configure.ac

index 102154a..b755300 100644 (file)
@@ -954,7 +954,7 @@ case $host in
       fi
     fi
     ;;
-  i386-darwin* | x86_64-darwin*)
+  i386*-darwin* | x86_64*-darwin*)
     dnl Only osx supports cocoa. ios requires EAGL.
     if test "x$NEED_WGL" = "xyes"; then
       AC_MSG_ERROR([WGL is not available on Mac OS X])