X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fabsolute-header.m4;h=c649df0840adadc8282959c9b3e6df6f4337f3b7;hb=b28236b5d096f190b3d1d9724bfa871029729831;hp=6f0fd2aa78ce5aaf76e99deb0e09c05055c16b1e;hpb=59bc11d6c44ee9d8a63a9f5adde8111d1b86882c;p=gnulib.git diff --git a/m4/absolute-header.m4 b/m4/absolute-header.m4 index 6f0fd2aa7..c649df084 100644 --- a/m4/absolute-header.m4 +++ b/m4/absolute-header.m4 @@ -1,4 +1,4 @@ -# absolute-header.m4 serial 5 +# absolute-header.m4 serial 6 dnl Copyright (C) 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, @@ -10,11 +10,12 @@ dnl From Derek Price. # --------------------------------------- # Find the absolute name of a header file, assuming the header exists. # If the header were sys/inttypes.h, this macro would define -# ABSOLUTE_SYS_INTTYPES_H to the `<>' quoted absolute name of sys/inttypes.h +# ABSOLUTE_SYS_INTTYPES_H to the `""' quoted absolute name of sys/inttypes.h # in config.h -# (e.g. `#define ABSOLUTE_SYS_INTTYPES_H '). +# (e.g. `#define ABSOLUTE_SYS_INTTYPES_H "///usr/include/sys/inttypes.h"'). # The three "///" are to pacify Sun C 5.8, which otherwise would say # "warning: #include of /usr/include/... may be non-portable". +# Use `""', not `<>', so that the /// cannot be confused with a C99 comment. AC_DEFUN([gl_ABSOLUTE_HEADER], [AC_LANG_PREPROC_REQUIRE()dnl AC_FOREACH([gl_HEADER_NAME], [$1],