# HG changeset patch # User Matthew Wild # Date 1386801108 0 # Node ID a367bae3838513613e975f713a37c099f8059228 # Parent 1c702c2455d78efe0d411b0b90c71e485f47636f# Parent 4016e6efdcf6bd99fd548e8275db89ad8a5fa1b6 Merge 0.9->0.10 diff -r 1c702c2455d7 -r a367bae38385 .hgtags --- a/.hgtags Fri Nov 29 20:11:06 2013 +0000 +++ b/.hgtags Wed Dec 11 22:31:48 2013 +0000 @@ -48,3 +48,5 @@ 6ef79af0c4455851ae45fa4da1033ba2cccada88 0.9.0 6bc4077bc1f96ff83795fcc423ff270a28156d1c 0.9.1 49e3c49eb0d8f33e94e2bf37e5421deacac5f499 0.9.2 +49e3c49eb0d8f33e94e2bf37e5421deacac5f499 0.9.2 +56b1f151f4a31fcc7dbde49e064a288715077ece 0.9.2 diff -r 1c702c2455d7 -r a367bae38385 Makefile --- a/Makefile Fri Nov 29 20:11:06 2013 +0000 +++ b/Makefile Wed Dec 11 22:31:48 2013 +0000 @@ -17,7 +17,9 @@ all: prosody.install prosodyctl.install prosody.cfg.lua.install prosody.version $(MAKE) -C util-src install - $(MAKE) -C certs localhost.crt example.com.crt +ifeq ($(EXCERTS),yes) + $(MAKE) -C certs localhost.crt example.com.crt || true +endif install: prosody.install prosodyctl.install prosody.cfg.lua.install util/encodings.so util/encodings.so util/pposix.so util/signal.so install -d $(BIN) $(CONFIG) $(MODULES) $(SOURCE) diff -r 1c702c2455d7 -r a367bae38385 configure --- a/configure Fri Nov 29 20:11:06 2013 +0000 +++ b/configure Wed Dec 11 22:31:48 2013 +0000 @@ -17,6 +17,7 @@ CXX=g++ LD=gcc RUNWITH=lua +EXCERTS=yes CFLAGS="-fPIC -Wall" LDFLAGS="-shared" @@ -64,6 +65,7 @@ Default is $LD --require-config Will cause Prosody to refuse to run when it fails to find a configuration file +--no-example-certs Disables generation of example certificates. EOF } @@ -177,6 +179,9 @@ --runwith=*) RUNWITH="$value" ;; + --no-example-certs) + EXCERTS= + ;; *) echo "Error: Unknown flag: $1" exit 1 @@ -348,6 +353,7 @@ CXX=$CXX LD=$LD RUNWITH=$RUNWITH +EXCERTS=$EXCERTS EOF