Use 'enabled' function to simplify x86_64 check in the mingw32 section.
[libav.git] / configure
index f07e922..af4dbca 100755 (executable)
--- a/configure
+++ b/configure
@@ -1447,7 +1447,7 @@ case $target_os in
     mingw32*)
         target_os=mingw32
         LIBTARGET=i386
-        if test $arch = x86_64; then
+        if enabled x86_64; then
             disable need_memalign
             LIBTARGET=x64
         fi