~dobey/libubuntuone/fix-crits

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Tarmac
  • Author(s): Martin Pitt
  • Date: 2011-12-20 23:11:04 UTC
  • mfrom: (141.2.2 libubuntuone)
  • Revision ID: tarmac-20111220231104-i3dralyp6qc5fot0
Fix usage of deprecated glib symbols

g_format_size_for_display() is deprecated, glib 2.30 replaced it with g_format_size(). Fall back to g_format_size_for_display() when building with a glib < 2.30.

g_thread_init() is deprecated since 2.24, just call g_type_init(). Bump glib requirement to >= 2.24 for this.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
33
33
 
34
34
dnl Look for needed modules
35
 
PKG_CHECK_MODULES(LIBUBUNTUONE, gdk-pixbuf-2.0 webkit-1.0 >= 1.1.15 libxml-2.0 libsoup-2.4 >= 2.33.1 libsoup-gnome-2.4 libsyncdaemon-1.0 >= 1.4.2 gstreamer-0.10 gstreamer-pbutils-0.10)
 
35
PKG_CHECK_MODULES(LIBUBUNTUONE, glib-2.0 >= 2.24 gdk-pixbuf-2.0 webkit-1.0 >= 1.1.15 libxml-2.0 libsoup-2.4 >= 2.33.1 libsoup-gnome-2.4 libsyncdaemon-1.0 >= 1.4.2 gstreamer-0.10 gstreamer-pbutils-0.10)
36
36
AC_SUBST(LIBUBUNTUONE_CFLAGS)
37
37
AC_SUBST(LIBUBUNTUONE_LIBS)
38
38