OLD | NEW |
1 #!/bin/sh | 1 #!/bin/sh |
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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 doxy_patch=${doxy_version##*.} | 182 doxy_patch=${doxy_version##*.} |
183 | 183 |
184 [ $doxy_major -gt 1 ] && enable_feature doxygen | 184 [ $doxy_major -gt 1 ] && enable_feature doxygen |
185 [ $doxy_minor -gt 5 ] && enable_feature doxygen | 185 [ $doxy_minor -gt 5 ] && enable_feature doxygen |
186 [ $doxy_minor -eq 5 ] && [ $doxy_patch -ge 3 ] && enable_feature doxygen | 186 [ $doxy_minor -eq 5 ] && [ $doxy_patch -ge 3 ] && enable_feature doxygen |
187 fi | 187 fi |
188 | 188 |
189 # install everything except the sources, by default. sources will have | 189 # install everything except the sources, by default. sources will have |
190 # to be enabled when doing dist builds, since that's no longer a common | 190 # to be enabled when doing dist builds, since that's no longer a common |
191 # case. | 191 # case. |
192 enabled doxygen && php -v >/dev/null 2>&1 && enable_feature install_docs | 192 enabled doxygen && enable_feature install_docs |
193 enable_feature install_bins | 193 enable_feature install_bins |
194 enable_feature install_libs | 194 enable_feature install_libs |
195 | 195 |
196 enable_feature static | 196 enable_feature static |
197 enable_feature optimizations | 197 enable_feature optimizations |
198 enable_feature fast_unaligned #allow unaligned accesses, if supported by hw | 198 enable_feature fast_unaligned #allow unaligned accesses, if supported by hw |
199 enable_feature spatial_resampling | 199 enable_feature spatial_resampling |
200 enable_feature multithread | 200 enable_feature multithread |
201 enable_feature os_support | 201 enable_feature os_support |
202 enable_feature temporal_denoising | 202 enable_feature temporal_denoising |
(...skipping 29 matching lines...) Expand all Loading... |
232 mips | 232 mips |
233 x86 | 233 x86 |
234 x86_64 | 234 x86_64 |
235 ppc32 | 235 ppc32 |
236 ppc64 | 236 ppc64 |
237 " | 237 " |
238 ARCH_EXT_LIST=" | 238 ARCH_EXT_LIST=" |
239 edsp | 239 edsp |
240 media | 240 media |
241 neon | 241 neon |
| 242 neon_asm |
242 | 243 |
243 mips32 | 244 mips32 |
244 dspr2 | 245 dspr2 |
245 | 246 |
246 mmx | 247 mmx |
247 sse | 248 sse |
248 sse2 | 249 sse2 |
249 sse3 | 250 sse3 |
250 ssse3 | 251 ssse3 |
251 sse4_1 | 252 sse4_1 |
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
744 ## | 745 ## |
745 ## END APPLICATION SPECIFIC CONFIGURATION | 746 ## END APPLICATION SPECIFIC CONFIGURATION |
746 ## | 747 ## |
747 CONFIGURE_ARGS="$@" | 748 CONFIGURE_ARGS="$@" |
748 process "$@" | 749 process "$@" |
749 print_webm_license ${BUILD_PFX}vpx_config.c "/*" " */" | 750 print_webm_license ${BUILD_PFX}vpx_config.c "/*" " */" |
750 cat <<EOF >> ${BUILD_PFX}vpx_config.c | 751 cat <<EOF >> ${BUILD_PFX}vpx_config.c |
751 static const char* const cfg = "$CONFIGURE_ARGS"; | 752 static const char* const cfg = "$CONFIGURE_ARGS"; |
752 const char *vpx_codec_build_config(void) {return cfg;} | 753 const char *vpx_codec_build_config(void) {return cfg;} |
753 EOF | 754 EOF |
OLD | NEW |