configure.in
changeset 6443 21827b6a7cfd
parent 6431 1f9c0e93bd96
child 6444 9a2b329dbd0e
     1.1 --- a/configure.in	Thu Sep 20 21:13:10 2012 -0700
     1.2 +++ b/configure.in	Thu Sep 20 21:16:02 2012 -0700
     1.3 @@ -459,12 +459,14 @@
     1.4          amd3dnow_CFLAGS="-m3dnow"
     1.5          CFLAGS="$save_CFLAGS $amd3dnow_CFLAGS"
     1.6  
     1.7 -        AC_TRY_COMPILE([
     1.8 +        AC_TRY_LINK([
     1.9          #include <mm3dnow.h>
    1.10          #ifndef __3dNOW__
    1.11          #error Assembler CPP flag not enabled
    1.12          #endif
    1.13          ],[
    1.14 +        void *p = 0;
    1.15 +        _m_prefetch(p);
    1.16          ],[
    1.17          have_gcc_3dnow=yes
    1.18          ])