[paprefs][PATCH 7/9] fix GSettings pkg-config dependency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We're using the C++ interface of GSettings, so we should depend on
giomm instead of gio.

Since the compile and link flags are different between gio and giomm, it
may seem strange that building paprefs worked at all, but since gtkmm
depends on giomm, the correct flags got added via gtkmm.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index bb78a70..accefe0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,7 +72,7 @@ fi
 AM_CONDITIONAL([USE_LYNX], [test "x$lynx" = xyes])
 
 #### GSettings support ####
-PKG_CHECK_MODULES(GSETTINGS, [ gio-2.0 >= 2.26.0 ])
+PKG_CHECK_MODULES(GSETTINGS, [ giomm-2.4 >= 2.26 ])
 GLIB_GSETTINGS
 
 AM_GNU_GETTEXT([external])
-- 
2.16.3



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux