GLU is included with -framework OpenGL, avoid the failure message if

$build_darwin is set.

Originally committed to SVN as r2242.
This commit is contained in:
Amar Takhar 2008-07-05 18:48:29 +00:00
parent c4285b87fd
commit ef481e8045

View file

@ -210,7 +210,7 @@ int main(void) {
return 0;
}])
if test "$agi_with_openglu" = "no"; then
if test "$agi_with_openglu" = "no" || test "$build_darwin" != "yes"; then
AC_MSG_FAILURE([Please install a working OpenGL GLU library.])
fi