@@ -109,6 +111,8 @@ if [ $SRS_ARM_UBUNTU12 = YES ]; then
if[$SRS_GPERF_CP= RESERVED ]; then SRS_GPERF_CP=NO; fi
if[$SRS_GPROF= RESERVED ]; then SRS_GPROF=NO; fi
if[$SRS_ARM_UBUNTU12= RESERVED ]; then SRS_ARM_UBUNTU12=NO; fi
# for arm, always set to static link.
SRS_STATIC=YES
else
if[$SRS_HLS= RESERVED ]; then SRS_HLS=YES; fi
if[$SRS_SSL= RESERVED ]; then SRS_SSL=YES; fi
...
...
@@ -124,6 +128,7 @@ else
if[$SRS_GPERF_CP= RESERVED ]; then SRS_GPERF_CP=NO; fi
if[$SRS_GPROF= RESERVED ]; then SRS_GPROF=NO; fi
if[$SRS_ARM_UBUNTU12= RESERVED ]; then SRS_ARM_UBUNTU12=NO; fi
if[$SRS_STATIC= RESERVED ]; then SRS_STATIC=NO; fi
fi
# parse the jobs for make
...
...
@@ -176,6 +181,7 @@ if [ $help = yes ]; then
--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.
...
...
@@ -259,5 +265,6 @@ if [ $SRS_GPERF_MP = YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-gmp"; el
if[$SRS_GPERF_CP= YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-gcp"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-gcp"; fi
if[$SRS_GPROF= YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-gprof"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-gprof"; fi
if[$SRS_ARM_UBUNTU12= YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-arm-ubuntu12"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-arm-ubuntu12"; fi
if[$SRS_STATIC= YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --static"; fi