summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2010-12-10 12:27:52 +0100
committerDan Winship <danw@gnome.org>2010-12-10 12:27:52 +0100
commit1172f20fb256f027f7f6365f926cffdedc70e3c3 (patch)
tree1f06a5062f71978a352481945b970837ebe389ec
parentec1c3ff3289d7130a8b7354bdee09f24c3ab9962 (diff)
downloadlibsoup-1172f20fb256f027f7f6365f926cffdedc70e3c3.tar.gz
fix previous commit; I only tested the "not working" case before...
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index cf6a4a59..43fce37b 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)"])