projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8a8d9a4
)
Simplify m4 code.
author
Bruno Haible
<bruno@clisp.org>
Thu, 21 May 2009 12:57:15 +0000
(14:57 +0200)
committer
Bruno Haible
<bruno@clisp.org>
Thu, 21 May 2009 12:57:15 +0000
(14:57 +0200)
ChangeLog
patch
|
blob
|
history
m4/size_max.m4
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
eeab720
..
5744510
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+2009-05-21 Bruno Haible <bruno@clisp.org>
+
+ * m4/size_max.m4 (gl_SIZE_MAX): Use AC_CACHE_CHECK instead of
+ AC_CACHE_VAL.
+
2009-05-20 Bruno Haible <bruno@clisp.org>
Make zeroptr.h work on mingw.
2009-05-20 Bruno Haible <bruno@clisp.org>
Make zeroptr.h work on mingw.
diff --git
a/m4/size_max.m4
b/m4/size_max.m4
index
e0e7b3f
..
a18caad
100644
(file)
--- a/
m4/size_max.m4
+++ b/
m4/size_max.m4
@@
-1,5
+1,5
@@
-# size_max.m4 serial
7
-dnl Copyright (C) 2003, 2005-2006, 2008 Free Software Foundation, Inc.
+# size_max.m4 serial
8
+dnl Copyright (C) 2003, 2005-2006, 2008
-2009
Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@
-10,8
+10,7
@@
AC_DEFUN([gl_SIZE_MAX],
[
AC_CHECK_HEADERS([stdint.h])
dnl First test whether the system already has SIZE_MAX.
[
AC_CHECK_HEADERS([stdint.h])
dnl First test whether the system already has SIZE_MAX.
- AC_MSG_CHECKING([for SIZE_MAX])
- AC_CACHE_VAL([gl_cv_size_max], [
+ AC_CACHE_CHECK([for SIZE_MAX], [gl_cv_size_max], [
gl_cv_size_max=
AC_EGREP_CPP([Found it], [
#include <limits.h>
gl_cv_size_max=
AC_EGREP_CPP([Found it], [
#include <limits.h>
@@
-54,7
+53,6
@@
Found it
fi
fi
])
fi
fi
])
- AC_MSG_RESULT([$gl_cv_size_max])
if test "$gl_cv_size_max" != yes; then
AC_DEFINE_UNQUOTED([SIZE_MAX], [$gl_cv_size_max],
[Define as the maximum value of type 'size_t', if the system doesn't define it.])
if test "$gl_cv_size_max" != yes; then
AC_DEFINE_UNQUOTED([SIZE_MAX], [$gl_cv_size_max],
[Define as the maximum value of type 'size_t', if the system doesn't define it.])