Check for Xrandr header.

master
cybersphinx 2011-07-05 21:23:44 +02:00
parent f5d6e2d662
commit 27cabaedfd
1 changed files with 5 additions and 0 deletions

View File

@ -381,6 +381,11 @@ fi
AC_CHECK_HEADER(physfs.h, , AC_MSG_ERROR([PhysicsFS header not found.]))
AC_CHECK_LIB(physfs, PHYSFS_init, AC_SUBST([PHYSFS_LIBS], [-lphysfs]), AC_MSG_ERROR([PhysicsFS not found.]), [${WIN32_LIBS}])
if test "x$host_os_mingw32" != "xyes" ; then
AC_CHECK_HEADER(X11/extensions/Xrandr.h, , AC_MSG_ERROR([Xrandr header not found.]))
fi
# Look for OpenGL
AC_CHECK_LIB(GL, main,
OPENGL_LIBS="-lGL",