Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5)

This commit is contained in:
Kevin Bowling 2011-01-03 15:09:21 -07:00
parent b3651d1576
commit ad03952edf
3 changed files with 6 additions and 3 deletions

View File

@ -128,7 +128,7 @@ endif
BUILT_SOURCES = ./include/event2/event-config.h
./include/event2/event-config.h: config.h
@MKDIR_P@ ./include/event2
$(MKDIR_P) ./include/event2
echo '/* event2/event-config.h' > $@
echo ' *' >> $@
echo ' * This file was generated by autoconf when libevent was built, and post-' >> $@

View File

@ -1,6 +1,6 @@
dnl configure.in for libevent
dnl Dug Song <dugsong@monkey.org>
AC_PREREQ(2.59c)
AC_PREREQ(2.59)
AC_INIT(event.c)
AC_CONFIG_MACRO_DIR([m4])
@ -27,7 +27,7 @@ dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MKDIR_P
# AC_PROG_MKDIR_P - $(MKDIR_P) should be defined by AM_INIT_AUTOMAKE
AC_PROG_GCC_TRADITIONAL

View File

@ -0,0 +1,3 @@
AN_IDENTIFIER([ssize_t], [AC_TYPE_SSIZE_T])
AC_DEFUN([AC_TYPE_SSIZE_T], [AC_CHECK_TYPE(ssize_t, int)])