* size_max.h: New file.
authorSimon Josefsson <simon@josefsson.org>
Mon, 11 Jul 2005 19:13:35 +0000 (19:13 +0000)
committerSimon Josefsson <simon@josefsson.org>
Mon, 11 Jul 2005 19:13:35 +0000 (19:13 +0000)
* modules/size_max: New file.
* modules/xsize: Depend on size_max module for size_max.m4.

ChangeLog
lib/ChangeLog
lib/size_max.h [new file with mode: 0644]
modules/size_max [new file with mode: 0644]
modules/xsize

index 752405f..6e3dc1d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-07-11  Simon Josefsson  <jas@extundo.com>
+
+       * modules/size_max: New file.
+
+       * modules/xsize: Depend on size_max module for size_max.m4.
+
 2005-07-09  Bruno Haible  <bruno@clisp.org>
 
        * gnulib-tool (func_usage): Document option --avoid.
index 5cbefa8..57d7366 100644 (file)
@@ -1,3 +1,7 @@
+2005-07-11  Simon Josefsson  <jas@extundo.com>
+
+       * size_max.h: New file.
+
 2005-07-09  Sergey Poznyakoff  <gray@gnu.org.ua>
 
        * argp-namefrob.h: Include unlocked-io.h. Removed unnecessary
diff --git a/lib/size_max.h b/lib/size_max.h
new file mode 100644 (file)
index 0000000..ce2377b
--- /dev/null
@@ -0,0 +1,27 @@
+/* size_max.h -- declare SIZE_MAX through system headers
+   Copyright (C) 2005 Free Software Foundation, Inc.
+   Written by Simon Josefsson.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2, or (at your option)
+   any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software Foundation,
+   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
+
+#ifndef GNULIB_SIZE_MAX_H
+#define GNULIB_SIZE_MAX_H
+
+# include <limits.h>
+# if HAVE_STDINT_H
+#  include <stdint.h>
+# endif
+
+#endif /* GNULIB_SIZE_MAX_H */
diff --git a/modules/size_max b/modules/size_max
new file mode 100644 (file)
index 0000000..82dd068
--- /dev/null
@@ -0,0 +1,23 @@
+Description:
+Provide SIZE_MAX.
+
+Files:
+m4/size_max.m4
+lib/size_max.h
+
+Depends-on:
+
+configure.ac:
+gl_SIZE_MAX
+
+Makefile.am:
+
+Include:
+#include "size_max.h"
+
+License:
+LGPL
+
+Maintainer:
+Simon Josefsson
+Bruno Haible
index 41a280e..5f22f2c 100644 (file)
@@ -4,9 +4,9 @@ Checked size_t computations.
 Files:
 lib/xsize.h
 m4/xsize.m4
-m4/size_max.m4
 
 Depends-on:
+size_max
 
 configure.ac:
 gl_XSIZE