summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonut Biru <ibiru@archlinux.org>2012-05-09 17:34:10 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-05-09 18:36:00 +0100
commit62a8e7337b6d678e5293fbfe713f3d1806003331 (patch)
tree2cad66c9a588fbe06a71ea68cd6f06685fda73fc
parent3f1686e07c2d8cb4204cf8fba27c46aadc421740 (diff)
Check for gio to avoid linking issue
/usr/bin/ld: note: 'g_inet_address_new_from_string' is defined in DSO /usr/lib/libgio-2.0.so.0 so try adding it to the linker command line Signed-off-by: Ionut Biru <ibiru@archlinux.org> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 2a6cb2a..461d464 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,7 +62,7 @@ dnl GTK docs
GTK_DOC_CHECK
dnl Check for Glib
-PKG_CHECK_MODULES(GLIB, gobject-2.0 >= 2.30, have_glib=yes, have_glib=no)
+PKG_CHECK_MODULES(GLIB, [gobject-2.0 >= 2.30, gio-2.0 >= 2.30], have_glib=yes, have_glib=no)
if test x$have_glib = xno ; then
AC_MSG_ERROR([GLib development libraries not found])