| 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 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 676 soft_enable unit_tests | 676 soft_enable unit_tests |
| 677 ;; | 677 ;; |
| 678 *-android-*) | 678 *-android-*) |
| 679 # GTestLog must be modified to use Android logging utilities. | 679 # GTestLog must be modified to use Android logging utilities. |
| 680 ;; | 680 ;; |
| 681 *-darwin-*) | 681 *-darwin-*) |
| 682 # iOS/ARM builds do not work with gtest. This does not match | 682 # iOS/ARM builds do not work with gtest. This does not match |
| 683 # x86 targets. | 683 # x86 targets. |
| 684 ;; | 684 ;; |
| 685 *) | 685 *) |
| 686 enabled pthread_h && check_cxx "$@" <<EOF && soft_enable unit_tests | 686 check_cxx "$@" <<EOF && soft_enable unit_tests |
| 687 int z; | 687 int z; |
| 688 EOF | 688 EOF |
| 689 ;; | 689 ;; |
| 690 esac | 690 esac |
| 691 } | 691 } |
| 692 | 692 |
| 693 | 693 |
| 694 ## | 694 ## |
| 695 ## END APPLICATION SPECIFIC CONFIGURATION | 695 ## END APPLICATION SPECIFIC CONFIGURATION |
| 696 ## | 696 ## |
| 697 CONFIGURE_ARGS="$@" | 697 CONFIGURE_ARGS="$@" |
| 698 process "$@" | 698 process "$@" |
| 699 print_webm_license ${BUILD_PFX}vpx_config.c "/*" " */" | 699 print_webm_license ${BUILD_PFX}vpx_config.c "/*" " */" |
| 700 cat <<EOF >> ${BUILD_PFX}vpx_config.c | 700 cat <<EOF >> ${BUILD_PFX}vpx_config.c |
| 701 static const char* const cfg = "$CONFIGURE_ARGS"; | 701 static const char* const cfg = "$CONFIGURE_ARGS"; |
| 702 const char *vpx_codec_build_config(void) {return cfg;} | 702 const char *vpx_codec_build_config(void) {return cfg;} |
| 703 EOF | 703 EOF |
| OLD | NEW |