Hello
This is what's written in the Mesa FAQ:
> Unfortunately, the GNU autoconf/automake/libtool system doesn't seem to work
> too well on non GNU/Linux systems, even after installing gmake, gcc, etc.
> For that reason, Mesa's old-style makefile system is still included. The
> old-style system uses good old traditional Makefiles. Try the following:
> cd Mesa-x.y.z
> cp Makefile.X11 Makefile
> make
>
> You'll see a list of system configurations from which to choose. For
> example:
> make linux-x86
So if your not running Linux, that might help you.
Jonas Wagner
PS: Mesa 4.0.4 is out now!