mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-25 13:55:34 -05: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
|
* libpangocairo
|
||||||
* libcairo
|
* libcairo
|
||||||
* libcairo-xlib
|
* libcairo-xlib
|
||||||
* libglib2.0
|
* libglib2.0 >= 2.40
|
||||||
* libx11
|
* libx11
|
||||||
* libstartup-notification-1.0
|
* libstartup-notification-1.0
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@ bin_PROGRAMS=rofi
|
||||||
dist_bin_SCRIPTS=script/rofi-sensible-terminal
|
dist_bin_SCRIPTS=script/rofi-sensible-terminal
|
||||||
|
|
||||||
LIBS=\
|
LIBS=\
|
||||||
|
@glib_LIBS@\
|
||||||
@x11_LIBS@\
|
@x11_LIBS@\
|
||||||
@xinerama_LIBS@\
|
@xinerama_LIBS@\
|
||||||
@libsn_LIBS@\
|
@libsn_LIBS@\
|
||||||
|
@ -17,6 +18,7 @@ LIBS=\
|
||||||
|
|
||||||
AM_CFLAGS=\
|
AM_CFLAGS=\
|
||||||
@EXTRA_CFLAGS@\
|
@EXTRA_CFLAGS@\
|
||||||
|
@glib_CFLAGS@\
|
||||||
@x11_CFLAGS@\
|
@x11_CFLAGS@\
|
||||||
@xinerama_CFLAGS@\
|
@xinerama_CFLAGS@\
|
||||||
@pango_CFLAGS@\
|
@pango_CFLAGS@\
|
||||||
|
|
|
@ -48,6 +48,7 @@ dnl Check dependencies
|
||||||
dnl ---------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------
|
||||||
PKG_PROG_PKG_CONFIG
|
PKG_PROG_PKG_CONFIG
|
||||||
|
|
||||||
|
PKG_CHECK_MODULES([glib], [glib-2.0 >= 2.40])
|
||||||
PKG_CHECK_MODULES([x11], [x11])
|
PKG_CHECK_MODULES([x11], [x11])
|
||||||
PKG_CHECK_MODULES([xinerama], [xinerama])
|
PKG_CHECK_MODULES([xinerama], [xinerama])
|
||||||
PKG_CHECK_MODULES([pango], [pango pangocairo])
|
PKG_CHECK_MODULES([pango], [pango pangocairo])
|
||||||
|
|
Loading…
Reference in a new issue