Hi Jarkko, hello Brian, 

>
> > Jarkko, I'm forwarding to [EMAIL PROTECTED]
> >
> >
> > Could someone who knows configure and the 3DNow code take a look at
> this?
> >
> > -Brian
>
>
> Hello,
> I'm trying to get Mesa lib working with my AMD3D and Banshee. Using
> latest Mesa source from CVS.
>
> I think there's a little misconfiguration in configure.in, which leads
> to a wrong configure. In file configure.in near line 310 it says
> AM_CONDITIONAL(HAVE_3DNOW, test $have_3dnow = on)
> and near line 119 it says
> AC_MSG_RESULT(yes)

This line (119) defines the answer, which you see on the screen, when the
configure script is running. The following line 

  AC_MSG_RESULT(yep!!!)

would result in 
 ...
 checking for memmove... yes
 checking whether the compiler supports cpuid... yes
 checking whether the compiler supports 3Dnow... yep!!!
 checking whether the compiler supports MMX... yes
 ...

but changes nothing else.

>
> which makes the  configure script to leave out 3dnow/mmx optimizations.
>
> Or atleast there's something wrong because i can't get 3dnow working
> with my AMD 3D :)
>

Do you get a

      MMX cpu detected.
      3Dnow cpu detected.

message, if you start a OpenGL program ??  If yes, the library was
compiled correctly (with -DUSE_MMX_ASM and -DUSE_3DNOW_ASM in CFLAGS in
the src/X86 directory).

You are right, the styles in configure.in and the Makefile.am in
src/X86 are a bit confusing and not really straightforward.

But it should work.


- Holger



_______________________________________________
Mesa-bug maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-bug


_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to