From fecf12f12d95443cf1677f137cfb074f961ad670 Mon Sep 17 00:00:00 2001 From: Christian Ruppert Date: Thu, 22 Oct 2009 18:26:15 +0000 Subject: [PATCH] Add AC_PREREQ for at least autoconf-2.61 (should be a good choice..). Be more verbose when running autogen.sh. Add realloc and alarm check to configure.ac. --- autogen.sh | 2 +- configure.ac | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index b95a068..3ef543f 100755 --- a/autogen.sh +++ b/autogen.sh @@ -2,4 +2,4 @@ [ ! -d m4 ] && mkdir m4 -autoreconf -i -s -f +autoreconf -i -s -f -v diff --git a/configure.ac b/configure.ac index 4a2f5d3..6426970 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,6 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. +AC_PREREQ([2.61]) AC_INIT([tint2], [0.7.9-svn], [http://code.google.com/p/tint2/issues]) AM_INIT_AUTOMAKE @@ -97,7 +98,8 @@ AC_TYPE_PID_T # Checks for library functions. AC_FUNC_FORK AC_FUNC_MALLOC -AC_CHECK_FUNCS([gettimeofday memset select setlocale strcasecmp strchr strdup]) +AC_FUNC_REALLOC +AC_CHECK_FUNCS([alarm gettimeofday memset select setlocale strcasecmp strchr strdup]) # tint2conf (experimental) if test "x$tint2conf" = xtrue; -- 2.44.0