]> granicus.if.org Git - libevent/commitdiff
Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5)
authorKevin Bowling <kevin.bowling@kev009.com>
Mon, 3 Jan 2011 22:09:21 +0000 (15:09 -0700)
committerTay Ray Chuan <raychuan@iweb.nus.edu.sg>
Tue, 15 Jan 2013 17:22:05 +0000 (01:22 +0800)
This is a backport of ad03952.

configure.in
m4/ac_backport_259_ssizet.m4 [new file with mode: 0644]

index 9904bdb117491bd90468225d59009ef1c2ae6a8c..5cd4786bf1ac70c1784069b96f585e02de2c50ce 100644 (file)
@@ -6,7 +6,7 @@ dnl See LICENSE for copying information.
 dnl
 dnl Original version Dug Song <dugsong@monkey.org>
 
-AC_PREREQ(2.59c)
+AC_PREREQ(2.59)
 AC_INIT(event.c)
 
 AC_CONFIG_MACRO_DIR([m4])
@@ -37,7 +37,7 @@ AC_PROG_CC
 AM_PROG_CC_C_O
 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_SED is only available in Autoconf >= 2.59b; workaround for older
 # versions
diff --git a/m4/ac_backport_259_ssizet.m4 b/m4/ac_backport_259_ssizet.m4
new file mode 100644 (file)
index 0000000..75fde38
--- /dev/null
@@ -0,0 +1,3 @@
+AN_IDENTIFIER([ssize_t], [AC_TYPE_SSIZE_T])
+AC_DEFUN([AC_TYPE_SSIZE_T], [AC_CHECK_TYPE(ssize_t, int)])
+