[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with gl_ABSOLUTE_HEADER and HP-UX native ANSI C compiler
From: |
Paul Eggert |
Subject: |
Re: problem with gl_ABSOLUTE_HEADER and HP-UX native ANSI C compiler |
Date: |
Mon, 10 Jul 2006 20:33:15 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Thanks for reporting the further problem. I installed this
in both gnulib and coreutils.
Eric, mind if I do something similar for sys_stat_h.m4?
2006-07-10 Paul Eggert <address@hidden>
* 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.
--- stdint.m4 9 Jul 2006 16:59:35 -0000 1.4
+++ stdint.m4 11 Jul 2006 03:29:56 -0000 1.5
@@ -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