Skip to contentSkip to conversation

Changing required GLIB version in acinclude.m4

PATCH In review [email protected] 4 participants 4 messages Feb 2, 2011 – Feb 4, 2011 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Changing required GLIB version in acinclude.m4

From: Ankush Bansal <[email protected]>

---
 acinclude.m4 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
acinclude.m4 +2 -2
index ecf4b4b..9d3f6b2 100644
@@ -108,8 +108,8 @@ AC_DEFUN([AC_PATH_DBUS], [
 ])
 
 AC_DEFUN([AC_PATH_GLIB], [
-	PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.14, dummy=yes,
-				AC_MSG_ERROR(GLib library version 2.14 or later is required))
+	PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.16, dummy=yes,
+				AC_MSG_ERROR(GLib library version 2.16 or later is required))
 	AC_SUBST(GLIB_CFLAGS)
 	AC_SUBST(GLIB_LIBS)
 ])
Signature · 1 line
1.7.1
#1 lore raw

Hi,

Quoted 15 lines · On Wed, Feb 2, 2011 at 10:04 PM, <[email protected]> wrote:

From: Ankush Bansal <[email protected]>

---
 acinclude.m4 |    4 ++--

 1 files changed, 2 insertions(+), 2 deletions(-)
acinclude.m4 +0 -0
index ecf4b4b..9d3f6b2 100644
@@ -108,8 +108,8 @@ AC_DEFUN([AC_PATH_DBUS], [
  ])
 

 AC_DEFUN([AC_PATH_GLIB], [
-       PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.14, dummy=yes,

Quoted 8 lines

-                               AC_MSG_ERROR(GLib library version 2.14 or later is required))
+       PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.16, dummy=yes,
+                               AC_MSG_ERROR(GLib library version 2.16 or later is required)) AC_SUBST(GLIB_CFLAGS)
       AC_SUBST(GLIB_LIBS)
 ])
--
1.7.1

Can you provide more details why this is needed, is there any new function we are using which requires 2.16?

Signature · 2 lines
Luiz Augusto von Dentz
Computer Engineer
#2 lore raw

Hi Luiz,

Quoted 16 lines · Luiz Augusto von Dentz

Hi,

Quoted 13 lines · On Wed, Feb 2, 2011 at 10:04 PM, <[email protected]> wrote:

From: Ankush Bansal <[email protected]>

---
 acinclude.m4 |    4 ++--

 1 files changed, 2 insertions(+), 2 deletions(-)
acinclude.m4 +0 -0
index ecf4b4b..9d3f6b2 100644
@@ -108,8 +108,8 @@ AC_DEFUN([AC_PATH_DBUS], [
  ])
 
Quoted 13 lines
Quoted 10 lines

 AC_DEFUN([AC_PATH_GLIB], [
-       PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.14, dummy=yes,
-                               AC_MSG_ERROR(GLib library version 2.14 or later is required))
+       PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.16, dummy=yes,
+                               AC_MSG_ERROR(GLib library version 2.16 or later is required)) AC_SUBST(GLIB_CFLAGS)
       AC_SUBST(GLIB_LIBS)
 ])
--
1.7.1

Can you provide more details why this is needed, is there any new function we are using which requires 2.16?

It is g_strcmp0(), but it should be a good idea add this info to the commit message.

Signature · 2 lines
Gustavo F. Padovan
http://profusion.mobi
#3 lore raw

Hi,

Quoted 5 lines · Gustavo F. Padovan
Quoted 2 lines

Can you provide more details why this is needed, is there any new function we are using which requires 2.16?

It is g_strcmp0(), but it should be a good idea add this info to the commit message.

I went ahead and added this to the patch. It has now been pushed upstream.

Johan