summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
Diffstat (limited to 'auto')
-rw-r--r--auto/init12
-rw-r--r--auto/summary15
2 files changed, 25 insertions, 2 deletions
diff --git a/auto/init b/auto/init
index 0b33c3bc2..6c52c21a2 100644
--- a/auto/init
+++ b/auto/init
@@ -54,8 +54,16 @@ clean:
upgrade:
$NGX_SBIN_PATH -t
+
+ # upgrade compatibility from 0.1.x to 0.2.x
+ cp $NGX_PID_PATH $NGX_PID_PATH.oldbin
+
kill -USR2 \`cat $NGX_PID_PATH\`
sleep 1
- test -f $NGX_PID_PATH.newbin
- kill -WINCH \`cat $NGX_PID_PATH\`
+ test -f $NGX_PID_PATH.oldbin
+
+ # upgrade compatibility from 0.1.x to 0.2.x
+ cp $NGX_PID_PATH $NGX_PID_PATH.newbin
+
+ kill -WINCH \`cat $NGX_PID_PATH.oldbin\`
END
diff --git a/auto/summary b/auto/summary
index 7ef6ede3c..690a65e20 100644
--- a/auto/summary
+++ b/auto/summary
@@ -2,6 +2,21 @@
# Copyright (C) Igor Sysoev
+### STUB
+
+if [ $USE_THREADS != NO ]; then
+
+cat << END
+
+$0: error: the threads support is broken now.
+
+END
+ exit 1
+ fi
+
+###
+
+
echo
echo "Configuration summary"