configure
changeset 8286 330a8627e41d
parent 8285 9495e2cbe666
child 8287 22460456c3a3
equal deleted inserted replaced
8285:9495e2cbe666 8286:330a8627e41d
    83                             Default is $CC
    83                             Default is $CC
    84 --compiler-wrapper=WRAPPER  Adds a prefix to compiler and linker calls,
    84 --compiler-wrapper=WRAPPER  Adds a prefix to compiler and linker calls,
    85                             usable for eg distcc or ccache.
    85                             usable for eg distcc or ccache.
    86 --linker=CC                 The linker to use when building modules.
    86 --linker=CC                 The linker to use when building modules.
    87                             Default is $LD
    87                             Default is $LD
    88 --require-config            Will cause $APP_NAME to refuse to run when
       
    89                             it fails to find a configuration file
       
    90 --no-example-certs          Disables generation of example certificates.
    88 --no-example-certs          Disables generation of example certificates.
    91 EOF
    89 EOF
    92 }
    90 }
    93 
    91 
    94 # Helper functions
    92 # Helper functions
   246       ;;
   244       ;;
   247    --datadir)
   245    --datadir)
   248       DATADIR="$value"
   246       DATADIR="$value"
   249       DATADIR_SET=yes
   247       DATADIR_SET=yes
   250       ;;
   248       ;;
   251    --require-config)
       
   252       REQUIRE_CONFIG=yes
       
   253       ;;
       
   254    --lua-suffix)
   249    --lua-suffix)
   255       [ -n "$value" ] || die "Missing value in flag $key."
   250       [ -n "$value" ] || die "Missing value in flag $key."
   256       LUA_SUFFIX="$value"
   251       LUA_SUFFIX="$value"
   257       LUA_SUFFIX_SET=yes
   252       LUA_SUFFIX_SET=yes
   258       ;;
   253       ;;
   583 LUA_DIR_SET=$LUA_DIR_SET
   578 LUA_DIR_SET=$LUA_DIR_SET
   584 LUA_INCDIR=$LUA_INCDIR
   579 LUA_INCDIR=$LUA_INCDIR
   585 LUA_LIBDIR=$LUA_LIBDIR
   580 LUA_LIBDIR=$LUA_LIBDIR
   586 LUA_BINDIR=$LUA_BINDIR
   581 LUA_BINDIR=$LUA_BINDIR
   587 MULTIARCH_SUBDIR=$MULTIARCH_SUBDIR
   582 MULTIARCH_SUBDIR=$MULTIARCH_SUBDIR
   588 REQUIRE_CONFIG=$REQUIRE_CONFIG
       
   589 IDN_LIB=$IDN_LIB
   583 IDN_LIB=$IDN_LIB
   590 IDNA_LIBS=$IDNA_LIBS
   584 IDNA_LIBS=$IDNA_LIBS
   591 OPENSSL_LIBS=$OPENSSL_LIBS
   585 OPENSSL_LIBS=$OPENSSL_LIBS
   592 CFLAGS=$CFLAGS
   586 CFLAGS=$CFLAGS
   593 LDFLAGS=$LDFLAGS
   587 LDFLAGS=$LDFLAGS