AM_CONFIG_HEADER(config.h)
AM_PROG_LIBTOOL
-AM_PATH_GLIB_2_0(2.6.0, ,AC_MSG_ERROR([glib is required in order to compile LinuxTraceToolkit - download it from ftp://ftp.gtk.org/pub/gtk]) , gmodule)
+AM_PATH_GLIB_2_0(2.4.0, ,AC_MSG_ERROR([glib is required in order to compile LinuxTraceToolkit - download it from ftp://ftp.gtk.org/pub/gtk]) , gmodule)
AM_PATH_GTK_2_0(2.4.0, ,AC_MSG_ERROR([gtk is required in order to compile GUI - download it from ftp://ftp.gtk.org/pub/gtk]) , gmodule)
+AC_SYS_LARGEFILE
+
# Checks for programs.
AC_PROG_CC
AC_SUBST(lttvwindowincludedir)
AC_CONFIG_FILES([Makefile
+ libltt/Makefile
+ lttctl/Makefile
lttv/Makefile
lttv/lttv/Makefile
lttv/modules/Makefile