SDL1.1.3 Makefile generation error

Hullo there!
Not that I know anything about the configure/autogen/make tools,
but it seems like there is a small script error somewhere.
The GXX variable is never set when I compile on Irix, but I guess
that is ok, since it seems that CC is supposed to be used instead.
However, in the joystick makefile, there are references to the
GXX variable which is empty and this implies that libtool is run
without the compiler parameter. (Am I making any sence??)

From the generated src/joystick/Makefile:

CC = gcc
CXX =