Commit 58cf068657c4c07f708e3e68f3ca28cbd4a557ac

Authored by Yishin Li
Committed by Stéphane Raimbault
1 parent db78b0c8

Autoconf settings for CentOS 4.6 and CentOS 5.3

They came with autoconf-2.59, which does not support AC_TYPE_UINT*_T .
Showing 2 changed files with 5 additions and 4 deletions
autogen.sh
1 #! /bin/sh 1 #! /bin/sh
2 -autoreconf -v --install || exit 1 2 +autoreconf -v --force --install || exit 1
3 ./configure "$@" 3 ./configure "$@"
configure.ac
@@ -22,9 +22,10 @@ AC_CHECK_HEADERS([termios.h sys/time.h unistd.h errno.h limits.h fcntl.h sys/typ @@ -22,9 +22,10 @@ AC_CHECK_HEADERS([termios.h sys/time.h unistd.h errno.h limits.h fcntl.h sys/typ
22 AC_C_CONST 22 AC_C_CONST
23 AC_TYPE_SIZE_T 23 AC_TYPE_SIZE_T
24 AC_HEADER_TIME 24 AC_HEADER_TIME
25 -AC_TYPE_UINT16_T  
26 -AC_TYPE_UINT32_T  
27 -AC_TYPE_UINT8_T 25 +# AC_TYPE_UINT*_T: not supported by autoconf-2.59 of CentOS 5.3
  26 +# AC_TYPE_UINT16_T
  27 +# AC_TYPE_UINT32_T
  28 +# AC_TYPE_UINT8_T
28 29
29 # Cygwin defines IPTOS_LOWDELAY but can't handle that flag so it's necessary to 30 # Cygwin defines IPTOS_LOWDELAY but can't handle that flag so it's necessary to
30 # workaround that problem and Cygwin doesn't define MSG_DONTWAIT. 31 # workaround that problem and Cygwin doesn't define MSG_DONTWAIT.