summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorManoj Kasichainula <manoj@apache.org>1999-12-01 01:21:38 +0000
committerManoj Kasichainula <manoj@apache.org>1999-12-01 01:21:38 +0000
commitc264c5e2a1c7e657de8f3385a1eebbd318c5e009 (patch)
tree9747142a963c9f96db18385fe99f0bb5f3a6907f /acinclude.m4
parent04c494c2b5175d094185f00304a17a837c44d810 (diff)
downloadhttpd-c264c5e2a1c7e657de8f3385a1eebbd318c5e009.tar.gz
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
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m44
1 files changed, 3 insertions, 1 deletions
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 <sys/resource.h>], [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