--without-http-server disable http server, use external server to delivery http stream.
--without-http-api disable http api, only use console to manage SRS process.
--without-ffmpeg disable the ffmpeg transcoding feature.
--without-librtmp disable srs-librtmp, library for client.
--without-bwtc disable SRS bandwidth test client tool.
--without-research do not build the research tools.
--without-utest do not build the utest for SRS.
--without-gperf do not build SRS with gperf tools(without tcmalloc and gmc/gmp/gcp).
--without-gmc do not build memory check for SRS with gperf tools.
--without-gmp do not build memory profile for SRS with gperf tools.
--without-gcp do not build cpu profile for SRS with gperf tools.
--without-gprof do not build srs with gprof(GNU profile tool).
--without-arm-ubuntu12 do not build srs on ubuntu12 for armhf(v7cpu).
--static whether add '-static' to link options. always set this option for arm.
--jobs[=N] Allow N jobs at once; infinite jobs with no arg.
used for make in the configure, for example, to make ffmpeg.
--prefix=<path> the absolute install path for srs.
--dev for dev, open all features, no gperf/gprof/arm.
--pi for raspberry-pi(directly build), open features hls/ssl/static.
END
exit 0
...
...
@@ -313,6 +323,7 @@ if [ $SRS_SSL = RESERVED ]; then echo "you must specifies the ssl, see: ./config
if[$SRS_FFMPEG= RESERVED ]; then echo"you must specifies the ffmpeg, see: ./configure --help"; __check_ok=NO; fi
if[$SRS_HTTP_CALLBACK= RESERVED ]; then echo"you must specifies the http-callback, see: ./configure --help"; __check_ok=NO; fi
if[$SRS_HTTP_SERVER= RESERVED ]; then echo"you must specifies the http-server, see: ./configure --help"; __check_ok=NO; fi
if[$SRS_HTTP_API= RESERVED ]; then echo"you must specifies the http-api, see: ./configure --help"; __check_ok=NO; fi
if[$SRS_LIBRTMP= RESERVED ]; then echo"you must specifies the librtmp, see: ./configure --help"; __check_ok=NO; fi
if[$SRS_BWTC= RESERVED ]; then echo"you must specifies the bwtc, see: ./configure --help"; __check_ok=NO; fi
if[$SRS_RESEARCH= RESERVED ]; then echo"you must specifies the research, see: ./configure --help"; __check_ok=NO; fi
...
...
@@ -338,6 +349,7 @@ if [ $SRS_SSL = YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-ssl"; else SR
if[$SRS_FFMPEG= YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-ffmpeg"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-ffmpeg"; fi
if[$SRS_HTTP_CALLBACK= YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-http-callback"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-http-callback"; fi
if[$SRS_HTTP_SERVER= YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-http-server"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-http-server"; fi
if[$SRS_HTTP_API= YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-http-api"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-http-api"; fi
if[$SRS_LIBRTMP= YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-librtmp"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-librtmp"; fi
if[$SRS_BWTC= YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-bwtc"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-bwtc"; fi
if[$SRS_RESEARCH= YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-research"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-research"; fi