Diff

configure @ 5933:56b1f151f4a3 0.9.2

Makefile, configure: Add option for disabling generation of example certificates
author Kim Alvefur <zash@zash.se>
date Sat, 30 Nov 2013 22:26:20 +0100
parent 5422:396072d62695
child 5935:a367bae38385
child 6574:cd0088c73daf
line wrap: on
line diff
--- a/configure	Fri Nov 29 20:10:13 2013 +0000
+++ b/configure	Sat Nov 30 22:26:20 2013 +0100
@@ -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
 }
 
@@ -178,6 +180,9 @@
    --runwith=*)
       RUNWITH="$value"
       ;;
+    --no-example-certs)
+      EXCERTS=
+      ;;
    *)
       echo "Error: Unknown flag: $1"
       exit 1
@@ -349,6 +354,7 @@
 CXX=$CXX
 LD=$LD
 RUNWITH=$RUNWITH
+EXCERTS=$EXCERTS
 
 EOF