[gupnp-dlna] Add message about g_clear_pointer
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp-dlna] Add message about g_clear_pointer
- Date: Wed, 5 Dec 2012 12:54:10 +0000 (UTC)
commit dff7a08356c49a9701ecd930588fea61156985ac
Author: Jens Georg <mail jensge org>
Date: Wed Dec 5 13:47:34 2012 +0100
Add message about g_clear_pointer
configure.ac | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index b1e4877..019683c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -135,7 +135,8 @@ have_g_clear_pointer='no'
PKG_CHECK_EXISTS([glib-2.0 >= 2.34],
[have_g_clear_pointer='yes'])
AS_VAR_IF([have_g_clear_pointer], [no],
- [GUPNP_DLNA_TEMP_CFLAGS="$CFLAGS"
+ [AC_MSG_CHECKING([for g_clear_pointer])
+ GUPNP_DLNA_TEMP_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $GLIB_CFLAGS"
GUPNP_DLNA_TEMP_LIBS="$LIBS"
LIBS="$LIBS $GLIB_LIBS"
@@ -150,7 +151,8 @@ AS_VAR_IF([have_g_clear_pointer], [no],
]])],
[have_g_clear_pointer='yes'])
LIBS="$GUPNP_DLNA_TEMP_LIBS"
- CFLAGS="$GUPNP_DLNA_TEMP_CFLAGS"])
+ CFLAGS="$GUPNP_DLNA_TEMP_CFLAGS"
+ AC_MSG_RESULT([$have_g_clear_pointer])])
AS_VAR_IF([have_g_clear_pointer], [no],
[AC_DEFINE([g_clear_pointer(ptr, func)],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]