+#############################################################################
+# One-time warning for unstable trunk version
+#############################################################################
+user-warned-once:
+ @if [ ! -f .user-has-been-warned ]; then \
+ $(ECHO) "****************************************************"; \
+ $(ECHO) "*** ***"; \
+ $(ECHO) "*** WARNING: LOTS OF TROUBLE AHEAD! ***"; \
+ $(ECHO) "*** ------------------------------- ***"; \
+ $(ECHO) "*** ***"; \
+ $(ECHO) "*** You are about to compile the trunk (aka CVS ***"; \
+ $(ECHO) "*** HEAD) version of Privoxy which contains a ***"; \
+ $(ECHO) "*** zillion known bugs that are already fixed ***"; \
+ $(ECHO) "*** in the stable branch, along with unfinished ***"; \
+ $(ECHO) "*** features which will annoy you to death. ***"; \
+ $(ECHO) "*** ***"; \
+ $(ECHO) "*** Unless you are developing or alpha-testing ***"; \
+ $(ECHO) "*** Privoxy, THIS VERSION IS NOT FOR YOU! It is ***"; \
+ $(ECHO) "*** UNSTABLE, LEAKY, UNDOCUMENTED, UNSUPPORTED! ***"; \
+ $(ECHO) "*** ***"; \
+ $(ECHO) "*** If the latest release from www.privoxy.org ***"; \
+ $(ECHO) "*** doesn't satisfy your bleeding-edge fetish, ***"; \
+ $(ECHO) "*** check out the stable branch from CVS using ***"; \
+ $(ECHO) "*** -r v_3_0_branch or use a snapshot from ***"; \
+ $(ECHO) "*** http://www.oesterhelt.org/privoxy-snapshots/ ***"; \
+ $(ECHO) "*** ***"; \
+ $(ECHO) "*****************************************************"; \
+ $(ECHO) "Type \"yes i am sure\" if you are sure that you"; \
+ $(ECHO) -n "really want to proceed: "; \
+ read answer; \
+ if [ "$$answer" != "yes i am sure" ]; then exit 1; fi; \
+ touch .user-has-been-warned; \
+ fi;
+
+