diff --git a/INSTALL.md b/INSTALL.md index 7261abdf..efcdca87 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -18,7 +18,7 @@ * libpangocairo * libcairo * libcairo-xlib -* libglib2.0 +* libglib2.0 >= 2.40 * libx11 * libstartup-notification-1.0 diff --git a/Makefile.am b/Makefile.am index bf78ba8f..95881f2b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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@\ diff --git a/configure.ac b/configure.ac index e2bd2156..5c7d278d 100644 --- a/configure.ac +++ b/configure.ac @@ -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])