[libsoup] fix previous commit; I only tested the "not working" case before...



commit 1172f20fb256f027f7f6365f926cffdedc70e3c3
Author: Dan Winship <danw gnome org>
Date:   Fri Dec 10 12:27:52 2010 +0100

    fix previous commit; I only tested the "not working" case before...

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index cf6a4a5..43fce37 100644
--- a/configure.ac
+++ b/configure.ac
@@ -230,7 +230,7 @@ save_LIBS="$LIBS"
 CFLAGS="$CFLAGS $GLIB_CFLAGS"
 LIBS="$LIBS $GLIB_LIBS"
 AC_RUN_IFELSE([AC_LANG_PROGRAM([#include <gio/gio.h>],
-			       [return !g_tls_backend_supports_tls (g_tls_backend_get_default ());])],
+			       [g_type_init (); return !g_tls_backend_supports_tls (g_tls_backend_get_default ());])],
 	      [have_glib_networking=yes],
 	      [have_glib_networking=no],
 	      [have_glib_networking="unknown (cross-compiling)"])



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