summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-06-18 12:25:44 +0200
committerraveit65 <[email protected]>2020-06-23 14:09:32 +0200
commit89f8128c7dd1b5255eb6c6f1d6ab892785b26d19 (patch)
tree0b6623902ceee41cfbac00272aedf34c09d33c7c /configure.ac
parent7e2855432045cc25cf0543816f1cd849e5fb1473 (diff)
downloadengrampa-89f8128c7dd1b5255eb6c6f1d6ab892785b26d19.tar.bz2
engrampa-89f8128c7dd1b5255eb6c6f1d6ab892785b26d19.tar.xz
build: includes all required modules by libegg in PKG_CHECK_MODULES
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 6 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 80c105a..1226c69 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,6 +36,8 @@ GIO_REQUIRED=2.50.0
GTK_REQUIRED=3.22.0
CAJA_REQUIRED=1.17.1
JSON_GLIB_REQUIRED=0.14.0
+SM_REQUIRED=1.0.0
+ICE_REQUIRED=1.0.0
AC_SUBST(GLIB_REQUIRED)
AC_SUBST(GIO_REQUIRED)
@@ -44,12 +46,10 @@ AC_SUBST(CAJA_REQUIRED)
dnl ===========================================================================
-PKG_CHECK_MODULES(GTK, [gtk+-3.0 >= $GTK_REQUIRED])
-AC_SUBST([GTK_CFLAGS])
-AC_SUBST([GTK_LIBS])
-
-LIBEGG_CFLAGS="$GTK_CFLAGS"
-LIBEGG_LIBS="$GTK_LIBS"
+PKG_CHECK_MODULES(LIBEGG, [glib-2.0 >= $GLIB_REQUIRED
+ gtk+-3.0 >= $GTK_REQUIRED
+ sm >= $SM_REQUIRED
+ ice >= $ICE_REQUIRED])
AC_SUBST([LIBEGG_CFLAGS])
AC_SUBST([LIBEGG_LIBS])