From c264c5e2a1c7e657de8f3385a1eebbd318c5e009 Mon Sep 17 00:00:00 2001 From: Manoj Kasichainula Date: Wed, 1 Dec 1999 01:21:38 +0000 Subject: [PATCH] Fix what I think is a bug where rlim_t won't be #defined on systems that need it if the autoconf check for it was cached. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84201 13f79535-47bb-0310-9956-ffa450edef68 --- acinclude.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index 6ff8dcbfc7..b0cc3778a1 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -71,9 +71,11 @@ AC_DEFUN(AC_TYPE_RLIM_T, [ AC_TRY_COMPILE([#include ], [rlim_t spoon;], [ ac_cv_type_rlim_t=yes ],[ac_cv_type_rlim_t=no - AC_DEFINE(rlim_t, int) ]) ]) + if test "$ac_ac_type_rlim_t" = "no" ; then + AC_DEFINE(rlim_t, int) + fi ]) dnl -- 2.40.0