From: Manoj Kasichainula Date: Wed, 1 Dec 1999 01:21:38 +0000 (+0000) Subject: Fix what I think is a bug where rlim_t won't be #defined on systems X-Git-Tag: 1.3.10~134 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c264c5e2a1c7e657de8f3385a1eebbd318c5e009;p=apache 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 --- 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