1 AC_DEFUN([MOONLIGHT_CHECK_GTK],
3 PKG_CHECK_MODULES(GTK, gtk+-2.0 gthread-2.0)
6 AC_DEFUN([MOONLIGHT_CHECK_GLIB],
8 PKG_CHECK_MODULES(GLIB, glib-2.0)
11 AC_DEFUN([MOONLIGHT_CHECK_ZLIB],
13 AC_CHECK_HEADERS(zlib.h)
14 AC_CHECK_LIB(z, inflate, ZLIB="-lz")
17 AC_DEFUN([MOONLIGHT_CHECK_FONTS],
19 PKG_CHECK_MODULES(FREETYPE2, freetype2)
20 PKG_CHECK_MODULES(FONTCONFIG, fontconfig)
23 AC_DEFUN([MOONLIGHT_CHECK_XRANDR],
25 PKG_CHECK_MODULES(XRANDR, xrandr, [
26 AC_DEFINE([USE_RANDR], [1],
27 [Include support for the XRANDR extension for querying a monitor's refresh rate])
28 ], [xrandr_present=no])