Mercurial > mplayer.hg
comparison configure @ 19522:0aba40fe27e1
Fix .align is a power of two check.
hint by Philippe, phildev at mac com
author | diego |
---|---|
date | Thu, 24 Aug 2006 22:39:26 +0000 |
parents | 6710dbdf1ab2 |
children | 771698922515 |
comparison
equal
deleted
inserted
replaced
19521:0be2d3583f4f | 19522:0aba40fe27e1 |
---|---|
2233 | 2233 |
2234 echocheck ".align is a power of two" | 2234 echocheck ".align is a power of two" |
2235 if test "$_asmalign_pot" = auto ; then | 2235 if test "$_asmalign_pot" = auto ; then |
2236 _asmalign_pot=no | 2236 _asmalign_pot=no |
2237 cat > $TMPC << EOF | 2237 cat > $TMPC << EOF |
2238 asm (".align 3"); | 2238 main() { asm (".align 3"); } |
2239 EOF | 2239 EOF |
2240 cc_check && _asmalign_pot=yes | 2240 cc_check && _asmalign_pot=yes |
2241 fi | 2241 fi |
2242 if test "$_asmalign_pot" = "yes" ; then | 2242 if test "$_asmalign_pot" = "yes" ; then |
2243 _def_asmalign_pot='#define ASMALIGN(ZEROBITS) ".align " #ZEROBITS "\n\t"' | 2243 _def_asmalign_pot='#define ASMALIGN(ZEROBITS) ".align " #ZEROBITS "\n\t"' |