changeset 5984:b92b9d86794b

* size_max.h: New file. * modules/size_max: New file. * modules/xsize: Depend on size_max module for size_max.m4.
author Simon Josefsson <simon@josefsson.org>
date Mon, 11 Jul 2005 19:13:35 +0000
parents 918d93626505
children d2208bf40bf8
files ChangeLog lib/ChangeLog lib/size_max.h modules/size_max modules/xsize
diffstat 5 files changed, 61 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -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
new file mode 100644
--- /dev/null
+++ b/lib/size_max.h
@@ -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 */
new file mode 100644
--- /dev/null
+++ b/modules/size_max
@@ -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
--- a/modules/xsize
+++ b/modules/xsize
@@ -4,9 +4,9 @@
 Files:
 lib/xsize.h
 m4/xsize.m4
-m4/size_max.m4
 
 Depends-on:
+size_max
 
 configure.ac:
 gl_XSIZE