configure
changeset 5933 56b1f151f4a3
parent 5422 396072d62695
child 5935 a367bae38385
child 6577 cd0088c73daf
equal deleted inserted replaced
5930:a6a7839364aa 5933:56b1f151f4a3
    15 OPENSSL_LIB=crypto
    15 OPENSSL_LIB=crypto
    16 CC=gcc
    16 CC=gcc
    17 CXX=g++
    17 CXX=g++
    18 LD=gcc
    18 LD=gcc
    19 RUNWITH=lua
    19 RUNWITH=lua
       
    20 EXCERTS=yes
    20 
    21 
    21 CFLAGS="-fPIC -Wall"
    22 CFLAGS="-fPIC -Wall"
    22 LDFLAGS="-shared"
    23 LDFLAGS="-shared"
    23 
    24 
    24 IDN_LIBRARY=idn
    25 IDN_LIBRARY=idn
    62                             Default is $CC
    63                             Default is $CC
    63 --linker=CC                 The linker to use when building modules.
    64 --linker=CC                 The linker to use when building modules.
    64                             Default is $LD
    65                             Default is $LD
    65 --require-config            Will cause Prosody to refuse to run when
    66 --require-config            Will cause Prosody to refuse to run when
    66                             it fails to find a configuration file
    67                             it fails to find a configuration file
       
    68 --no-example-certs          Disables generation of example certificates.
    67 EOF
    69 EOF
    68 }
    70 }
    69 
    71 
    70 
    72 
    71 while [ "$1" ]
    73 while [ "$1" ]
   176       LD="$value"
   178       LD="$value"
   177       ;;
   179       ;;
   178    --runwith=*)
   180    --runwith=*)
   179       RUNWITH="$value"
   181       RUNWITH="$value"
   180       ;;
   182       ;;
       
   183     --no-example-certs)
       
   184       EXCERTS=
       
   185       ;;
   181    *)
   186    *)
   182       echo "Error: Unknown flag: $1"
   187       echo "Error: Unknown flag: $1"
   183       exit 1
   188       exit 1
   184       ;;
   189       ;;
   185    esac
   190    esac
   347 LDFLAGS=$LDFLAGS
   352 LDFLAGS=$LDFLAGS
   348 CC=$CC
   353 CC=$CC
   349 CXX=$CXX
   354 CXX=$CXX
   350 LD=$LD
   355 LD=$LD
   351 RUNWITH=$RUNWITH
   356 RUNWITH=$RUNWITH
       
   357 EXCERTS=$EXCERTS
   352 
   358 
   353 EOF
   359 EOF
   354 
   360 
   355 echo "Installation prefix: $PREFIX"
   361 echo "Installation prefix: $PREFIX"
   356 echo "Prosody configuration directory: $SYSCONFDIR"
   362 echo "Prosody configuration directory: $SYSCONFDIR"