You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@hyperreal.org on 1999/12/01 02:21:39 UTC
cvs commit: apache-2.0/src acinclude.m4
manoj 99/11/30 17:21:38
Modified: src acinclude.m4
Log:
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.
Revision Changes Path
1.3 +3 -1 apache-2.0/src/acinclude.m4
Index: acinclude.m4
===================================================================
RCS file: /home/cvs/apache-2.0/src/acinclude.m4,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -u -r1.2 -r1.3
--- acinclude.m4 1999/12/01 01:16:01 1.2
+++ acinclude.m4 1999/12/01 01:21:38 1.3
@@ -71,9 +71,11 @@
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