1.1 --- a/configure.ac Fri Jan 27 10:30:16 2012 +0000
1.2 +++ b/configure.ac Fri Jan 27 16:18:02 2012 +0000
1.3 @@ -58,17 +58,7 @@
1.4 ##################################################
1.5 # Checks for libraries.
1.6 ##################################################
1.7 -AC_MSG_CHECKING([whether to use glib])
1.8 -AC_ARG_WITH([glib],[AS_HELP_STRING([--without-glib],
1.9 - [use internal re-invented wheel rather than glib2])])
1.10 -AS_IF([test "$with_glib" != no],[
1.11 - AC_MSG_RESULT([yes])
1.12 - PKG_CHECK_MODULES([GLIB],[glib-2.0])
1.13 - AC_DEFINE([HAVE_GLIB],[1],[Define if you have glib version 2.x])
1.14 -],[
1.15 - AC_MSG_RESULT([no])
1.16 -])
1.17 -AM_CONDITIONAL([HAVE_GLIB],[test "$with_glib" != no])
1.18 +PKG_CHECK_MODULES([GLIB],[glib-2.0])
1.19
1.20 # NOTE: If we are using a static version of glib then we
1.21 # should define GLIB_STATIC_COMPILATION. This isn't needed