diff options
author | Yang Ruirui <ruirui.r.yang@tieto.com> | 2010-12-28 23:12:00 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-12-28 23:12:00 -0800 |
commit | 0246f1dbd4890507d488015dd816af9735e5f564 (patch) | |
tree | b9e05476f2a11c0f1161dce0f8f1188928136060 | |
parent | 8419f1bd0b930448ced7be50616182b5f341bf43 (diff) | |
download | connman-0246f1dbd4890507d488015dd816af9735e5f564.tar.gz connman-0246f1dbd4890507d488015dd816af9735e5f564.tar.bz2 connman-0246f1dbd4890507d488015dd816af9735e5f564.zip |
fix glib dependency
src/stats.c and src/tools/stats-tool.c use glib function g_mkstemp_full
g_mkstemp_full comes since GLib 2.21.6, see following changelog:
http://linuxtesting.org/upstream-tracker/changelogs/glib/2.21.6/changelog.html
So here fix the dependency of glib in configure.ac to >=2.22
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 46cceae9..03bb9fbb 100644 --- a/configure.ac +++ b/configure.ac @@ -275,8 +275,8 @@ fi AC_DEFINE_UNQUOTED([STATS_MAX_FILE_SIZE], (${stats_max_file_size}), [Maximal size of a statistics round robin file]) -PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.16, dummy=yes, - AC_MSG_ERROR(GLib >= 2.16 is required)) +PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.22, dummy=yes, + AC_MSG_ERROR(GLib >= 2.22 is required)) AC_SUBST(GLIB_CFLAGS) AC_SUBST(GLIB_LIBS) |