mirror of
https://github.com/lbonn/rofi
synced 2024-11-26 22:00:20 +00:00
Add glib minimum version check.
This commit is contained in:
parent
4b77a1728d
commit
c601130292
3 changed files with 4 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
* libpangocairo
|
||||
* libcairo
|
||||
* libcairo-xlib
|
||||
* libglib2.0
|
||||
* libglib2.0 >= 2.40
|
||||
* libx11
|
||||
* libstartup-notification-1.0
|
||||
|
||||
|
|
|
@ -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@\
|
||||
|
|
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue