Mercurial > hg > octave-nkf > gnulib-hg
changeset 6740:93b92cba9e6a
* m4/full-header-path.m4 (gl_FULL_HEADER_PATH): Use </full/path.h> rather
than "/full/path.h". Update comment to match. Shorten & generalize
m4_translit call via AS_TR_CPP.
author | Derek R. Price <derek@ximbiot.com> |
---|---|
date | Wed, 19 Apr 2006 16:47:17 +0000 |
parents | 68c436fda425 |
children | b7a8a3274b6f |
files | m4/ChangeLog m4/full-header-path.m4 |
diffstat | 2 files changed, 12 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,8 +1,14 @@ +2006-04-19 Derek Price <derek@ximbiot.com> + Eric Blake <ebb9@byu.net> + + * full-header-path.m4 (gl_FULL_HEADER_PATH): Use </full/path.h> rather + than "/full/path.h". Update comment to match. Shorten & generalize + m4_translit call via AS_TR_CPP. + 2006-04-18 Derek Price <derek@ximbiot.com> Paul Eggert <eggert@cs.ucla.edu> - * m4/_inttypes_h.m4, m4/full-header-path.m4, m4/include_next: New - files. + * _inttypes_h.m4, full-header-path.m4, include_next: New files. 2006-04-11 Paul Eggert <eggert@cs.ucla.edu>
--- a/m4/full-header-path.m4 +++ b/m4/full-header-path.m4 @@ -11,9 +11,9 @@ # Find the full path to a header file, when the #include_next directive # doesn't work and the header exists in the first place. If the header were # sys/inttypes.h (and it existed and #include_next didn't work), this macro -# would define FULL_PATH_SYS_INTTYPES_H to the quoted full path to +# would define FULL_PATH_SYS_INTTYPES_H to the `<>' quoted full path to # sys/inttypes.h in config.h -# (e.g. `#define FULL_PATH_SYS_INTTYPES_H "/usr/include/sys/inttypes.h"'). +# (e.g. `#define FULL_PATH_SYS_INTTYPES_H </usr/include/sys/inttypes.h>'). AC_DEFUN([gl_FULL_HEADER_PATH], [AC_LANG_PREPROC_REQUIRE()dnl AC_REQUIRE([gl_INCLUDE_NEXT])dnl @@ -36,10 +36,8 @@ fi AS_VAR_POPDEF([ac_header_exists])dnl ])dnl - AC_DEFINE_UNQUOTED([FULL_PATH_]m4_quote(translit(m4_defn([gl_HEADER_NAME]), - [-./abcdefghijklmnopqrstuvwxyz], - [___ABCDEFGHIJKLMNOPQRSTUVWXYZ])), - ["AS_VAR_GET(gl_full_header_path)"], + AC_DEFINE_UNQUOTED(AS_TR_CPP([FULL_PATH_]m4_quote(m4_defn([gl_HEADER_NAME]))), + [<AS_VAR_GET(gl_full_header_path)>], [Define this to the full path to <]m4_quote(m4_defn([gl_HEADER_NAME]))[>.]) AS_VAR_POPDEF([gl_full_header_path])dnl ])dnl