summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/zip/config.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/zip/config.m4 b/ext/zip/config.m4
index 81f47df556..bb653c2068 100644
--- a/ext/zip/config.m4
+++ b/ext/zip/config.m4
@@ -156,6 +156,9 @@ AC_CHECK_SIZEOF([int])
AC_CHECK_SIZEOF([long])
AC_CHECK_SIZEOF([long long])
AC_CHECK_SIZEOF([off_t])
+if test "$ac_cv_sizeof_off_t" = "0" ; then
+ AC_MSG_ERROR(off_t undefined; check your library configuration)
+fi
AC_CHECK_SIZEOF([size_t])
AC_PATH_PROG([TOUCH], [touch])