diff options
Diffstat (limited to 'gl/m4/absolute-header.m4')
-rw-r--r-- | gl/m4/absolute-header.m4 | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gl/m4/absolute-header.m4 b/gl/m4/absolute-header.m4 index c649df08..5b7a2fc3 100644 --- a/gl/m4/absolute-header.m4 +++ b/gl/m4/absolute-header.m4 | |||
@@ -1,5 +1,5 @@ | |||
1 | # absolute-header.m4 serial 6 | 1 | # absolute-header.m4 serial 7 |
2 | dnl Copyright (C) 2006 Free Software Foundation, Inc. | 2 | dnl Copyright (C) 2006, 2007 Free Software Foundation, Inc. |
3 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
4 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
5 | dnl with or without modifications, as long as this notice is preserved. | 5 | dnl with or without modifications, as long as this notice is preserved. |
@@ -32,7 +32,12 @@ dnl eval is necessary to expand ac_cpp. | |||
32 | dnl Ultrix and Pyramid sh refuse to redirect output of eval, so use subshell. | 32 | dnl Ultrix and Pyramid sh refuse to redirect output of eval, so use subshell. |
33 | AS_VAR_SET(gl_absolute_header, | 33 | AS_VAR_SET(gl_absolute_header, |
34 | [`(eval "$ac_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD | | 34 | [`(eval "$ac_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD | |
35 | sed -n '\#/]m4_quote(m4_defn([gl_HEADER_NAME]))[#{s#.*"\(.*/]m4_quote(m4_defn([gl_HEADER_NAME]))[\)".*#\1#;s#^/[^/]#//&#;p;q;}'`]) | 35 | sed -n '\#/]m4_quote(m4_defn([gl_HEADER_NAME]))[#{ |
36 | s#.*"\(.*/]m4_quote(m4_defn([gl_HEADER_NAME]))[\)".*#\1# | ||
37 | s#^/[^/]#//&# | ||
38 | p | ||
39 | q | ||
40 | }'`]) | ||
36 | fi | 41 | fi |
37 | AS_VAR_POPDEF([ac_header_exists])dnl | 42 | AS_VAR_POPDEF([ac_header_exists])dnl |
38 | ])dnl | 43 | ])dnl |