On 20/01/13 23:32, Matthias Räncker wrote: > Add subarch values x86_64_x32 x86_64_x64 resp. > These are active in conjunctions with x86_64. > Test based on presence of __ILP32__ macro. > 'sizeof(long double)>12' should work too. > > Signed-off-by: Matthias Räncker <[email protected]> > --- > configure | 14 ++++++++++++-- > 1 file changed, 12 insertions(+), 2 deletions(-) > > diff --git a/configure b/configure > index b4ffbe6..93d2eed 100755 > --- a/configure > +++ b/configure > @@ -1110,6 +1110,8 @@ ARCH_LIST=' > x86 > x86_32 > x86_64 > + x86_64_x64 > + x86_64_x32 > ' > > ARCH_EXT_LIST_ARM=' > @@ -2815,7 +2817,14 @@ case "$arch" in > spic=$shared > ;; > x86) > - check_64bit x86_32 x86_64 'sizeof(void *) > 4' > + check_64bit x86_32 'x86_64 x86_64_x64' 'sizeof(void *) > 4' > + if test "$subarch" = "x86_32"; then > + check_64bit x86_32 'x86_64 x86_64_x32' ' > + #if defined __x86_64__ && defined __ILP32__ > + 1 > + #endif > + '
Checking for __x86_64__ alone isn't enough? You know already it is __ILP32__ from the previous check I think. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
