Add glib minimum version check.

This commit is contained in:
Dave Davenport 2015-12-01 22:35:05 +01:00
parent 4b77a1728d
commit c601130292
3 changed files with 4 additions and 1 deletions

View file

@ -18,7 +18,7 @@
* libpangocairo
* libcairo
* libcairo-xlib
* libglib2.0
* libglib2.0 >= 2.40
* libx11
* libstartup-notification-1.0

View file

@ -9,6 +9,7 @@ bin_PROGRAMS=rofi
dist_bin_SCRIPTS=script/rofi-sensible-terminal
LIBS=\
@glib_LIBS@\
@x11_LIBS@\
@xinerama_LIBS@\
@libsn_LIBS@\
@ -17,6 +18,7 @@ LIBS=\
AM_CFLAGS=\
@EXTRA_CFLAGS@\
@glib_CFLAGS@\
@x11_CFLAGS@\
@xinerama_CFLAGS@\
@pango_CFLAGS@\

View file

@ -48,6 +48,7 @@ dnl Check dependencies
dnl ---------------------------------------------------------------------
PKG_PROG_PKG_CONFIG
PKG_CHECK_MODULES([glib], [glib-2.0 >= 2.40])
PKG_CHECK_MODULES([x11], [x11])
PKG_CHECK_MODULES([xinerama], [xinerama])
PKG_CHECK_MODULES([pango], [pango pangocairo])