Problem with SDL's src/joystick/Makefile.am

When running autoconf, I get the following error:

automake: src/joystick/Makefile.am: object SDL_sysjoystick.lo' created bySDL_sysjoystick.cc’ and SDL_sysjoystick.c' automake: src/joystick/Makefile.am: objectSDL_sysjoystick.lo’ created by
SDL_sysjoystick.cc' andSDL_sysjoystick.c’

The problem seems to be here:

COMMON_SRCS =
SDL_joystick.c
SDL_joystick_c.h
SDL_sysjoystick.h

Include the architecture-specific sources

if TARGET_BEOS
ARCH_SRCS = SDL_sysjoystick.cc
else

Automake does not know how to deal with to
file that will create a .lo with the same
name. Should SDL_sysjoystick.cc be renamed
to something like SDL_sysjoystick_cc.cc ?

Mo DeJong
Red Hat Inc

When running autoconf, I get the following error:

automake: src/joystick/Makefile.am: object SDL_sysjoystick.lo' created bySDL_sysjoystick.cc’ and SDL_sysjoystick.c' automake: src/joystick/Makefile.am: objectSDL_sysjoystick.lo’ created by
SDL_sysjoystick.cc' andSDL_sysjoystick.c’

Well since I don’t get that error, maybe you could tell me what version of
automake you’re using?

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Sam Lantinga wrote:

When running autoconf, I get the following error:

automake: src/joystick/Makefile.am: object SDL_sysjoystick.lo' created bySDL_sysjoystick.cc’ and SDL_sysjoystick.c' automake: src/joystick/Makefile.am: objectSDL_sysjoystick.lo’ created by
SDL_sysjoystick.cc' andSDL_sysjoystick.c’

Well since I don’t get that error, maybe you could tell me what version of
automake you’re using?

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

The version in the CVS.

Mo DeJong
Red Hat Inc