Mercurial > sdl-ios-xcode
view src/joystick/Makefile.am @ 787:07760c8854d1
Date: Sat, 24 Jan 2004 14:49:58 +0100
From: Stephane Marchesin
Subject: Re: [SDL] 3DNow! detection on a P4 system
Well... I found another bug : 3dnow was detected on P2/P3 cpus. So I
took one more look at the code and found a mistake in
CPU_getCPUIDFeaturesExt :
The condition for having extended cpuinfo is that when we query extended
cpuinfo we get a result >= 0x80000001. So we must exit if eax < 0x80000001.
The attached patch does that.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 24 Jan 2004 15:55:00 +0000 |
parents | 550bccdf04bd |
children |
line wrap: on
line source
## Makefile.am for the SDL joystick library noinst_LTLIBRARIES = libjoystick.la # Define which subdirectories need to be built SUBDIRS = @JOYSTICK_SUBDIRS@ DIST_SUBDIRS = dummy amigaos beos bsd darwin dc linux macos mint riscos win32 DRIVERS = @JOYSTICK_DRIVERS@ # Include the architecture-independent sources COMMON_SRCS = \ SDL_joystick.c \ SDL_joystick_c.h \ SDL_sysjoystick.h libjoystick_la_SOURCES = $(COMMON_SRCS) libjoystick_la_LIBADD = $(DRIVERS) libjoystick_la_DEPENDENCIES = $(DRIVERS)