configure.ac: fix OSX host check

Makes the check works with (i386|x86_64)-apple-darwin* hosts.

https://bugzilla.gnome.org/show_bug.cgi?id=727104
This commit is contained in:
Matthieu Bouron 2014-03-26 17:14:40 +00:00 committed by Edward Hervey
parent 218244a040
commit 99bb72dbf4

View 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])