--- a/configure.in
+++ b/configure.in
@@ -2,7 +2,7 @@
 
 AC_INIT([XChat],[2.8.8],[http://www.xchat.org/],[xchat])
 
-AC_PREREQ([2.59])
+AC_PREREQ([2.60])
 AC_COPYRIGHT([Copyright (C) 1998-2010 Peter Zelezny])
 
 AC_CONFIG_HEADERS([config.h])
@@ -10,6 +10,7 @@
 
 AM_INIT_AUTOMAKE([1.9 dist-bzip2 subdir-objects no-define])
 
+AC_USE_SYSTEM_EXTENSIONS
 AM_MAINTAINER_MODE
 AC_PROG_CC
 AM_PROG_CC_C_O
@@ -157,7 +158,7 @@
 dnl ** GLIB *************************************************************
 dnl *********************************************************************
 
-AM_PATH_GLIB_2_0(2.0.3, glib=yes, glib=no)
+AM_PATH_GLIB_2_0(2.12.0, glib=yes, glib=no)
 if test "$glib" = no; then
 	AC_MSG_ERROR("Cannot find glib")
 fi