comparison configure @ 35826:665b6195913e

List decoders and encoders in config.asm: Prepare for upcoming FFmpeg patch.
author cehoyos
date Mon, 18 Feb 2013 12:40:07 +0000
parents e879f0597319
children 88a9862c25e6
comparison
equal deleted inserted replaced
35825:e879f0597319 35826:665b6195913e
9137 # Do not overwrite an unchanged avconfig.h to avoid superfluous rebuilds. 9137 # Do not overwrite an unchanged avconfig.h to avoid superfluous rebuilds.
9138 cmp -s "$TMPH" ffmpeg/libavutil/avconfig.h || mv -f "$TMPH" ffmpeg/libavutil/avconfig.h 9138 cmp -s "$TMPH" ffmpeg/libavutil/avconfig.h || mv -f "$TMPH" ffmpeg/libavutil/avconfig.h
9139 9139
9140 9140
9141 if x86; then 9141 if x86; then
9142 # Create a skeleton config.asm with just the ARCH_ definitions for FFmpeg. 9142 # Create a skeleton config.asm with just the ARCH_ and *CODER definitions for FFmpeg.
9143 > "$TMPS" 9143 > "$TMPS"
9144 echo "%define CONFIG_GPL 1" >> "$TMPS" 9144 echo "%define CONFIG_GPL 1" >> "$TMPS"
9145 echo "%define HAVE_ALIGNED_STACK 1" >> "$TMPS" 9145 echo "%define HAVE_ALIGNED_STACK 1" >> "$TMPS"
9146 echo "$(ff_config_enable "$arch_all" "$arch" "%" "ARCH")" >> "$TMPS" 9146 echo "$(ff_config_enable "$arch_all" "$arch" "%" "ARCH")" >> "$TMPS"
9147 echo "$(ff_config_enable "$subarch_all" "$subarch" "%" "ARCH")" >> "$TMPS" 9147 echo "$(ff_config_enable "$subarch_all" "$subarch" "%" "ARCH")" >> "$TMPS"
9148 echo "$(ff_config_enable "$cpuexts_all" "$cpuexts" "%" "HAVE" "_EXTERNAL")" >> "$TMPS" 9148 echo "$(ff_config_enable "$cpuexts_all" "$cpuexts" "%" "HAVE" "_EXTERNAL")" >> "$TMPS"
9149 echo "$(ff_config_enable "$yasm_features_all" "$yasm_features" "%" "HAVE")" >> "$TMPS" 9149 echo "$(ff_config_enable "$yasm_features_all" "$yasm_features" "%" "HAVE")" >> "$TMPS"
9150 echo "$(ff_config_enable "$libavdecoders_all" "$libavdecoders" "%" "CONFIG")" >> "$TMPS"
9151 echo "$(ff_config_enable "$libavencoders_all" "$libavencoders" "%" "CONFIG")" >> "$TMPS"
9150 9152
9151 cmp -s "$TMPS" ffmpeg/config.asm || mv -f "$TMPS" ffmpeg/config.asm 9153 cmp -s "$TMPS" ffmpeg/config.asm || mv -f "$TMPS" ffmpeg/config.asm
9152 fi 9154 fi
9153 9155
9154 9156