summaryrefslogtreecommitdiff
path: root/gl/m4/stat-size.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gl/m4/stat-size.m4')
-rw-r--r--gl/m4/stat-size.m414
1 files changed, 14 insertions, 0 deletions
diff --git a/gl/m4/stat-size.m4 b/gl/m4/stat-size.m4
new file mode 100644
index 0000000..2de8fc4
--- /dev/null
+++ b/gl/m4/stat-size.m4
@@ -0,0 +1,14 @@
+#serial 1
+
+# Copyright (C) 2011-2015 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+AC_DEFUN([gl_STAT_SIZE],
+[
+ # Don't call AC_STRUCT_ST_BLOCKS because it causes bugs. Details at
+ # http://lists.gnu.org/archive/html/bug-gnulib/2011-06/msg00051.html
+ AC_CHECK_HEADERS_ONCE([sys/param.h])
+])