From 58cf068657c4c07f708e3e68f3ca28cbd4a557ac Mon Sep 17 00:00:00 2001 From: Yishin Li Date: Tue, 19 May 2009 00:08:01 +0800 Subject: [PATCH] Autoconf settings for CentOS 4.6 and CentOS 5.3 They came with autoconf-2.59, which does not support AC_TYPE_UINT*_T . --- autogen.sh | 2 +- configure.ac | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/autogen.sh b/autogen.sh index d68a142..ec17443 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,3 +1,3 @@ #! /bin/sh -autoreconf -v --install || exit 1 +autoreconf -v --force --install || exit 1 ./configure "$@" diff --git a/configure.ac b/configure.ac index 2c7a63d..961b299 100644 --- a/configure.ac +++ b/configure.ac @@ -22,9 +22,10 @@ AC_CHECK_HEADERS([termios.h sys/time.h unistd.h errno.h limits.h fcntl.h sys/typ AC_C_CONST AC_TYPE_SIZE_T AC_HEADER_TIME -AC_TYPE_UINT16_T -AC_TYPE_UINT32_T -AC_TYPE_UINT8_T +# AC_TYPE_UINT*_T: not supported by autoconf-2.59 of CentOS 5.3 +# AC_TYPE_UINT16_T +# AC_TYPE_UINT32_T +# AC_TYPE_UINT8_T # Cygwin defines IPTOS_LOWDELAY but can't handle that flag so it's necessary to # workaround that problem and Cygwin doesn't define MSG_DONTWAIT. -- libgit2 0.21.4