echo"x86/x64/pi should never use static, see: ./configure --help"; __check_ok=NO;
if[$SRS_PI= NO ]; then
if[$SRS_STATIC= YES ]; then
echo"x86/x64 should never use static, see: ./configure --help"; __check_ok=NO;
fi
fi
fi
...
...
@@ -401,7 +456,7 @@ if [ $__check_ok = NO ]; then
fi
# regenerate the options for default values.
SRS_AUTO_CONFIGURE=""
SRS_AUTO_CONFIGURE="--prefix=${SRS_PREFIX}"
if[$SRS_HLS= YES ]; then SRS_AUTO_CONFIGURE="${SRS_AUTO_CONFIGURE} --with-hls"; else SRS_AUTO_CONFIGURE="${SRS_AUTO_CONFIGURE} --without-hls"; fi
if[$SRS_DVR= YES ]; then SRS_AUTO_CONFIGURE="${SRS_AUTO_CONFIGURE} --with-dvr"; else SRS_AUTO_CONFIGURE="${SRS_AUTO_CONFIGURE} --without-dvr"; fi
if[$SRS_NGINX= YES ]; then SRS_AUTO_CONFIGURE="${SRS_AUTO_CONFIGURE} --with-nginx"; else SRS_AUTO_CONFIGURE="${SRS_AUTO_CONFIGURE} --without-nginx"; fi
...
...
@@ -423,5 +478,4 @@ if [ $SRS_GPERF_CP = YES ]; then SRS_AUTO_CONFIGURE="${SRS_AUTO_CONFIGURE} --wit
if[$SRS_GPROF= YES ]; then SRS_AUTO_CONFIGURE="${SRS_AUTO_CONFIGURE} --with-gprof"; else SRS_AUTO_CONFIGURE="${SRS_AUTO_CONFIGURE} --without-gprof"; fi
if[$SRS_ARM_UBUNTU12= YES ]; then SRS_AUTO_CONFIGURE="${SRS_AUTO_CONFIGURE} --with-arm-ubuntu12"; else SRS_AUTO_CONFIGURE="${SRS_AUTO_CONFIGURE} --without-arm-ubuntu12"; fi
if[$SRS_STATIC= YES ]; then SRS_AUTO_CONFIGURE="${SRS_AUTO_CONFIGURE} --static"; fi