]> granicus.if.org Git - libvpx/commit
nasm: add configure support
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 5 Oct 2010 17:15:08 +0000 (19:15 +0200)
committerJohn Koleszar <jkoleszar@google.com>
Tue, 5 Oct 2010 17:45:26 +0000 (13:45 -0400)
commit7be093ea4d50c8d38438f88cb9fa817c1c9de8dd
treeb18864f1349a85eb2595158c591ba1c6eee71844
parent2931b05ac5659e50f46afd358dcaba1b604ef3c0
nasm: add configure support

yasm has to be preferred as currently nasm produces marginally less
efficient code (longer opcodes). Filed for nasm as:
https://sourceforge.net/tracker/?func=detail&atid=106208&aid=3037462&group_id=6208

OTOH package should be built always the same, no matter which additional
packages are / are not present on the system. As the package should be
built with nasm (as yasm may not be available) we should not use yasm
even if it is possibly available.

nasm >= approx. 2.09 is required for the nasm compilation as the former
versions had a section alignment bug.

Provide nasm compatibility. No binary change by this patch with yasm on
{x86_64,i686}-fedora13-linux-gnu. Few longer opcodes with nasm on
{x86_64,i686}-fedora13-linux-gnu have been checked as safe.

Change-Id: Icb0fe39c64bbcc3bcd7972e392fd03f3273340df
build/make/configure.sh
configure