diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-02-09 10:46:43 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-02-09 10:46:43 +0300 |
commit | 7af6b16936b630feabecbce0dbc9cf84b4943481 (patch) | |
tree | 18301d35a84907e66fe94ddc7600d4ec6d600409 /auto/fmt | |
parent | 9260294400c902904cdf791c9c2e8fd069feec63 (diff) |
nginx-0.0.2-2004-02-09-10:46:43 import
Diffstat (limited to 'auto/fmt')
-rw-r--r-- | auto/fmt/xfmt | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/auto/fmt/xfmt b/auto/fmt/xfmt index 31f4d717d..2509f3ffb 100644 --- a/auto/fmt/xfmt +++ b/auto/fmt/xfmt @@ -1,6 +1,8 @@ -echo "#ifndef $ngx_fmt_name" >> $NGX_AUTO_CONFIG_H -echo "#define $ngx_fmt_name \"$ngx_fmt\"" | sed -e 's/d"$/x"/' \ - >> $NGX_AUTO_CONFIG_H -echo "#endif" >> $NGX_AUTO_CONFIG_H -echo >> $NGX_AUTO_CONFIG_H +cat << END | sed -e 's/d"$/x"/' >> $NGX_AUTO_CONFIG_H + +#ifndef $ngx_fmt_name +#define $ngx_fmt_name "$ngx_fmt" +#endif + +END |