| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 ## | 2 ## |
| 3 ## configure | 3 ## configure |
| 4 ## | 4 ## |
| 5 ## This script is the front-end to the build system. It provides a similar | 5 ## This script is the front-end to the build system. It provides a similar |
| 6 ## interface to standard configure scripts with some extra bits for dealing | 6 ## interface to standard configure scripts with some extra bits for dealing |
| 7 ## with toolchains that differ from the standard POSIX interface and | 7 ## with toolchains that differ from the standard POSIX interface and |
| 8 ## for extracting subsets of the source tree. In theory, reusable parts | 8 ## for extracting subsets of the source tree. In theory, reusable parts |
| 9 ## of this script were intended to live in build/make/configure.sh, | 9 ## of this script were intended to live in build/make/configure.sh, |
| 10 ## but in practice, the line is pretty blurry. | 10 ## but in practice, the line is pretty blurry. |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 error_concealment | 291 error_concealment |
| 292 shared | 292 shared |
| 293 static | 293 static |
| 294 small | 294 small |
| 295 postproc_visualizer | 295 postproc_visualizer |
| 296 os_support | 296 os_support |
| 297 unit_tests | 297 unit_tests |
| 298 multi_res_encoding | 298 multi_res_encoding |
| 299 temporal_denoising | 299 temporal_denoising |
| 300 experimental | 300 experimental |
| 301 decrypt |
| 301 ${EXPERIMENT_LIST} | 302 ${EXPERIMENT_LIST} |
| 302 " | 303 " |
| 303 CMDLINE_SELECT=" | 304 CMDLINE_SELECT=" |
| 304 external_build | 305 external_build |
| 305 extra_warnings | 306 extra_warnings |
| 306 werror | 307 werror |
| 307 install_docs | 308 install_docs |
| 308 install_bins | 309 install_bins |
| 309 install_libs | 310 install_libs |
| 310 install_srcs | 311 install_srcs |
| (...skipping 29 matching lines...) Expand all Loading... |
| 340 onthefly_bitpacking | 341 onthefly_bitpacking |
| 341 error_concealment | 342 error_concealment |
| 342 shared | 343 shared |
| 343 static | 344 static |
| 344 small | 345 small |
| 345 postproc_visualizer | 346 postproc_visualizer |
| 346 unit_tests | 347 unit_tests |
| 347 multi_res_encoding | 348 multi_res_encoding |
| 348 temporal_denoising | 349 temporal_denoising |
| 349 experimental | 350 experimental |
| 351 decrypt |
| 350 " | 352 " |
| 351 | 353 |
| 352 process_cmdline() { | 354 process_cmdline() { |
| 353 for opt do | 355 for opt do |
| 354 optval="${opt#*=}" | 356 optval="${opt#*=}" |
| 355 case "$opt" in | 357 case "$opt" in |
| 356 --disable-codecs) for c in ${CODECS}; do disable $c; done ;; | 358 --disable-codecs) for c in ${CODECS}; do disable $c; done ;; |
| 357 --enable-?*|--disable-?*) | 359 --enable-?*|--disable-?*) |
| 358 eval `echo "$opt" | sed 's/--/action=/;s/-/ option=/;s/-/_/g'` | 360 eval `echo "$opt" | sed 's/--/action=/;s/-/ option=/;s/-/_/g'` |
| 359 if echo "${EXPERIMENT_LIST}" | grep "^ *$option\$" >/dev/null; then | 361 if echo "${EXPERIMENT_LIST}" | grep "^ *$option\$" >/dev/null; then |
| (...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 679 ## | 681 ## |
| 680 ## END APPLICATION SPECIFIC CONFIGURATION | 682 ## END APPLICATION SPECIFIC CONFIGURATION |
| 681 ## | 683 ## |
| 682 CONFIGURE_ARGS="$@" | 684 CONFIGURE_ARGS="$@" |
| 683 process "$@" | 685 process "$@" |
| 684 print_webm_license ${BUILD_PFX}vpx_config.c "/*" " */" | 686 print_webm_license ${BUILD_PFX}vpx_config.c "/*" " */" |
| 685 cat <<EOF >> ${BUILD_PFX}vpx_config.c | 687 cat <<EOF >> ${BUILD_PFX}vpx_config.c |
| 686 static const char* const cfg = "$CONFIGURE_ARGS"; | 688 static const char* const cfg = "$CONFIGURE_ARGS"; |
| 687 const char *vpx_codec_build_config(void) {return cfg;} | 689 const char *vpx_codec_build_config(void) {return cfg;} |
| 688 EOF | 690 EOF |
| OLD | NEW |