summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-07-11 03:29:56 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-07-11 03:29:56 +0000
commit888ee9b8d99f7ed10f04b387eaf6e1477369c0fa (patch)
tree041ac2c7a67dfba434e135293ee74f6a48c6451a /m4
parent6e1e9cd9b44bd65d2776fbefa8affe70df07726a (diff)
downloadcoreutils-888ee9b8d99f7ed10f04b387eaf6e1477369c0fa.tar.xz
(gl_STDINT_H): Like yesterday's change to
absolute-header.m4. Also, set ABSOLUTE_STDINT_H to a string "no/such/file/stdint.h" when there is no such file, so that the resulting C code can be parsed by dodgy compilers. Problems reported by Bob Proulx.
Diffstat (limited to 'm4')
-rw-r--r--m4/ChangeLog8
-rw-r--r--m4/stdint.m47
2 files changed, 12 insertions, 3 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog
index 8e444ebde..cb3bdaea5 100644
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,11 @@
+2006-07-10 Paul Eggert <eggert@cs.ucla.edu>
+
+ * stdint.m4 (gl_STDINT_H): Like yesterday's change to
+ absolute-header.m4. Also, set ABSOLUTE_STDINT_H to a string
+ "no/such/file/stdint.h" when there is no such file, so that
+ the resulting C code can be parsed by dodgy compilers.
+ Problems reported by Bob Proulx.
+
2006-07-09 Paul Eggert <eggert@cs.ucla.edu>
* absolute-header.m4 (gl_ABSOLUTE_HEADER): Use "" rather than <>
diff --git a/m4/stdint.m4 b/m4/stdint.m4
index 5aa4a56b9..fa073cd19 100644
--- a/m4/stdint.m4
+++ b/m4/stdint.m4
@@ -1,4 +1,4 @@
-# stdint.m4 serial 14
+# stdint.m4 serial 15
dnl Copyright (C) 2001-2002, 2004-2006 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -50,12 +50,13 @@ AC_DEFUN([gl_STDINT_H],
dnl AC_INCLUDES_DEFAULT defines $ac_cv_header_stdint_h.
if test $ac_cv_header_stdint_h = yes; then
gl_ABSOLUTE_HEADER([stdint.h])
- ABSOLUTE_STDINT_H="<$gl_cv_absolute_stdint_h>"
- AC_SUBST([ABSOLUTE_STDINT_H])
+ ABSOLUTE_STDINT_H=\"$gl_cv_absolute_stdint_h\"
HAVE_STDINT_H=1
else
+ ABSOLUTE_STDINT_H=\"no/such/file/stdint.h\"
HAVE_STDINT_H=0
fi
+ AC_SUBST([ABSOLUTE_STDINT_H])
AC_SUBST([HAVE_STDINT_H])
dnl Now see whether we need a substitute <stdint.h>. Use