[FFmpeg-devel] Build problem
David DeHaven
dave
Wed Feb 4 21:54:26 CET 2009
>> Index: configure
>> ===================================================================
>> --- configure (revision 16966)
>> +++ configure (working copy)
>> @@ -1267,6 +1267,10 @@
>> *) die_unknown "$opt" ;;
>> esac
>> ;;
>> + --enable-yasm) enable yasm
>> + ;;
>> + --disable-yasm) disable yasm
>> + ;;
>
> The correct way is to add yasm to the CMDLINE_SELECT list.
I figured there'd be an easier way :)
>> --enable-?*|--disable-?*)
>> eval `echo "$opt" | sed 's/--/action=/;s/-/ option=/;s/-/_/g'`
>> if is_in $option $COMPONENT_LIST; then
>> @@ -1787,7 +1791,9 @@
>> macho64) append YASMFLAGS "-DPIC -DPREFIX" ;;
>> *) append YASMFLAGS "-DPREFIX" ;;
>> esac
>> - check_yasm "pabsw xmm0, xmm0" && enable yasm
>> + if ! disabled yasm && ! enabled yasm; then
>> + check_yasm "pabsw xmm0, xmm0" && enable yasm
>> + fi
>
> disabled yasm || check_yasm "pabsw xmm0, xmm0" && enable yasm
I tried that and it re-enabled it when I specified --disable-yasm:
Art's patch looks better than mine anyways ;)
-DrD-
More information about the ffmpeg-devel
mailing list