summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-08 14:54:49 +0100
committerraveit65 <[email protected]>2021-02-10 23:58:25 +0100
commit1d3eb340559c8a593bfc877aa4fef1198565bd1f (patch)
tree4be2cdff8aba4567c887c16519c44ed72f2921f7 /configure.ac
parentb9e8446945d36482f968f3356b7dcb14ae9104a5 (diff)
downloadatril-1d3eb340559c8a593bfc877aa4fef1198565bd1f.tar.bz2
atril-1d3eb340559c8a593bfc877aa4fef1198565bd1f.tar.xz
dvi: use glib i18n macros
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 096fce8e..05ac3a24 100644
--- a/configure.ac
+++ b/configure.ac
@@ -112,6 +112,7 @@ dnl Check dependencies
AC_SEARCH_LIBS([hypot],[m])
+PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED)
PKG_CHECK_MODULES(LIBDOCUMENT, gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED)
PKG_CHECK_MODULES(LIBVIEW, gtk+-3.0 >= $GTK_REQUIRED gail-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED)
PKG_CHECK_MODULES(BACKEND, cairo >= $CAIRO_REQUIRED gtk+-3.0 >= $GTK_REQUIRED)
@@ -120,6 +121,9 @@ PKG_CHECK_MODULES(GMODULE, gmodule-2.0 >= $GLIB_REQUIRED)
PKG_CHECK_MODULES([SHELL_CORE],[libxml-2.0 >= $LIBXML_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gthread-2.0 x11])
+AC_SUBST(GLIB_CFLAGS)
+AC_SUBST(GLIB_LIBS)
+
# ***************
# Build utilities
# ***************