Skip to content

Commit

Permalink
Sync configure file from nginx-1.15.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
wangfakang committed Dec 23, 2018
1 parent 8050287 commit cbf2bf1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export LC_ALL
. auto/init
. auto/sources

test -d $NGX_OBJS || mkdir $NGX_OBJS
test -d $NGX_OBJS || mkdir -p $NGX_OBJS

echo > $NGX_AUTO_HEADERS_H
echo > $NGX_AUTOCONF_ERR
Expand All @@ -23,6 +23,7 @@ if [ $NGX_DEBUG = YES ]; then
have=NGX_DEBUG . auto/have
fi


if test -z "$NGX_PLATFORM"; then
echo "checking for OS"

Expand All @@ -35,7 +36,7 @@ if test -z "$NGX_PLATFORM"; then
NGX_PLATFORM="$NGX_SYSTEM:$NGX_RELEASE:$NGX_MACHINE";

case "$NGX_SYSTEM" in
MINGW32_*)
MINGW32_* | MINGW64_* | MSYS_*)
NGX_PLATFORM=win32
;;
esac
Expand Down Expand Up @@ -108,4 +109,8 @@ have=NGX_HTTP_SCGI_TEMP_PATH value="\"$NGX_HTTP_SCGI_TEMP_PATH\""
have=NGX_USER value="\"$NGX_USER\"" . auto/define
have=NGX_GROUP value="\"$NGX_GROUP\"" . auto/define

if [ ".$NGX_BUILD" != "." ]; then
have=NGX_BUILD value="\"$NGX_BUILD\"" . auto/define
fi

. auto/summary

0 comments on commit cbf2bf1

Please sign in to comment.