mirror of
https://github.com/nginx/nginx.git
synced 2024-12-28 18:01:09 -06:00
nginx-0.0.2-2004-02-24-22:34:46 import
This commit is contained in:
parent
48fef6654c
commit
71e9fa0e11
@ -48,11 +48,18 @@ if [ $ngx_fmt = no ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fmtX="%0`expr 2 \* ${ngx_ptr_bytes}`"
|
|
||||||
|
if [ $ngx_ptr_bytes = 4 ]; then
|
||||||
|
fmtX="%0`expr 2 \* $ngx_ptr_bytes`"
|
||||||
|
else
|
||||||
|
fmtX="%$ngx_ptr_bytes'
|
||||||
|
fi
|
||||||
|
|
||||||
ngx_fmt=`echo $ngx_fmt | sed -e "s/d/X/" -e "s/^%/$fmtX/"`
|
ngx_fmt=`echo $ngx_fmt | sed -e "s/d/X/" -e "s/^%/$fmtX/"`
|
||||||
|
|
||||||
echo "$comma \"${ngx_fmt}\" used"
|
echo "$comma \"${ngx_fmt}\" used"
|
||||||
|
|
||||||
|
|
||||||
cat << END >> $NGX_AUTO_CONFIG_H
|
cat << END >> $NGX_AUTO_CONFIG_H
|
||||||
|
|
||||||
#ifndef $ngx_fmt_name
|
#ifndef $ngx_fmt_name
|
||||||
|
Loading…
Reference in New Issue
Block a user