Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

rlim_t



Zoltan's rlim_t patch contains:

+AC_CACHE_CHECK(for rlim_t, zsh_cv_type_rlim_t,
+[AC_TRY_COMPILE([
+#include <sys/types.h>
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
+#include <sys/resource.h>],
+[rlim_t l;],
+zsh_cv_type_rlim_t=yes,
+zsh_cv_type_rlim_t=no)])
+if test $zsh_cv_type_rlim_t = no; then
+  AC_DEFINE_UNQUOTED(rlim_t, $DEFAULT_RLIM_T)
 fi

Shouldn't that be

AC_CHECK_TYPE(rlim_t, $DEFAULT_RLIM_T)

?  There are other similar type checks that should probably use
AC_CHECK_TYPE too.

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author