[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stdint tweak
From: |
Mark D. Baushke |
Subject: |
Re: stdint tweak |
Date: |
Mon, 19 Jun 2006 01:15:59 -0700 |
The following works around the problem that the Makefile substituion of
the stdint_.h file generates illegal (missing quotes or angle brackets)
# include /usr/include/inttypes.h
or
# include /usr/include/stdint.h
for hosts that have one or the other of the <stdint.h> or <inttypes.h>
files which need to be included from the generated stdint.h file.
An alternative approach would be to change how gl_FULL_HEADER_PATH
works, in which case the define geneated for the confdefs.h file will
need to avoid duplication of the angle brackets.
Thanks,
-- Mark
2006-06-19 Mark D. Baushke <address@hidden>
* stdint.m4 ([gl_STDINT_H): Include angle brackets around
pathnames for FILE_PATH_STDINT_H and FULL_PATH_INTTYPES_H.
Index: stdint.m4
===================================================================
RCS file: /sources/gnulib/gnulib/m4/stdint.m4,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 stdint.m4
--- stdint.m4 17 Jun 2006 20:02:16 -0000 1.6
+++ stdint.m4 19 Jun 2006 08:05:54 -0000
@@ -14,7 +14,7 @@ AC_DEFUN([gl_STDINT_H],
if test $gl_cv_header_stdint_h = yes; then
ac_cv_header_stdint_h=yes; dnl Hack for gl_FULL_HEADER_PATH.
gl_FULL_HEADER_PATH([stdint.h])
- FULL_PATH_STDINT_H=$gl_cv_full_path_stdint_h
+ FULL_PATH_STDINT_H="<$gl_cv_full_path_stdint_h>"
AC_SUBST([FULL_PATH_STDINT_H])
HAVE_STDINT_H=1
else
@@ -27,7 +27,7 @@ AC_DEFUN([gl_STDINT_H],
if test $gl_cv_header_inttypes_h = yes; then
ac_cv_header_inttypes_h=yes; dnl Hack for gl_FULL_HEADER_PATH.
gl_FULL_HEADER_PATH([inttypes.h])
- FULL_PATH_INTTYPES_H=$gl_cv_full_path_inttypes_h
+ FULL_PATH_INTTYPES_H="<$gl_cv_full_path_inttypes_h>"
AC_SUBST([FULL_PATH_INTTYPES_H])
HAVE_INTTYPES_H=1
else
- stdint tweak, Bruno Haible, 2006/06/17
- Re: stdint tweak,
Mark D. Baushke <=