Skip to content

Commit

Permalink
Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5)
Browse files Browse the repository at this point in the history
  • Loading branch information
kev009 committed Jan 3, 2011
1 parent b3651d1 commit ad03952
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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-' >> $@
Expand Down
4 changes: 2 additions & 2 deletions configure.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dnl configure.in for libevent
dnl Dug Song <[email protected]>
AC_PREREQ(2.59c)
AC_PREREQ(2.59)
AC_INIT(event.c)

AC_CONFIG_MACRO_DIR([m4])
Expand All @@ -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

Expand Down
3 changes: 3 additions & 0 deletions m4/ac_backport_259_ssizet.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
AN_IDENTIFIER([ssize_t], [AC_TYPE_SSIZE_T])
AC_DEFUN([AC_TYPE_SSIZE_T], [AC_CHECK_TYPE(ssize_t, int)])

0 comments on commit ad03952

Please sign in to comment.