]> granicus.if.org Git - apache/commitdiff
Fix what I think is a bug where rlim_t won't be #defined on systems
authorManoj Kasichainula <manoj@apache.org>
Wed, 1 Dec 1999 01:21:38 +0000 (01:21 +0000)
committerManoj Kasichainula <manoj@apache.org>
Wed, 1 Dec 1999 01:21:38 +0000 (01:21 +0000)
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

index 6ff8dcbfc7ebbf76c64ac6f4ed2d1b31331bda15..b0cc3778a13119602ee3a18d5ed0041f401eda0a 100644 (file)
@@ -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