1 --- SDL-1.2.15_orig/configure.in 2013-06-17 11:39:39.670720710 +0800
2 +++ SDL-1.2.15/configure.in 2013-06-17 11:48:09.149384231 +0800
7 +AH_TEMPLATE(HAVE_ALTIVEC_H, [])
8 +AH_TEMPLATE(HAVE_CLOCK_GETTIME, [])
9 +AH_TEMPLATE(HAVE_LIBC, [])
10 +AH_TEMPLATE(HAVE_MEMCMP, [])
11 +AH_TEMPLATE(HAVE_MPROTECT, [])
12 +AH_TEMPLATE(HAVE_SA_SIGACTION, [])
13 +AH_TEMPLATE(HAVE_SEM_TIMEDWAIT, [])
14 +AH_TEMPLATE(HAVE_STRTOD, [])
15 +AH_TEMPLATE(SDL_ALTIVEC_BLITTERS, [])
16 +AH_TEMPLATE(SDL_ASSEMBLY_ROUTINES, [])
17 +AH_TEMPLATE(SDL_AUDIO_DISABLED, [])
18 +AH_TEMPLATE(SDL_AUDIO_DRIVER_ALSA, [])
19 +AH_TEMPLATE(SDL_AUDIO_DRIVER_ALSA_DYNAMIC, [])
20 +AH_TEMPLATE(SDL_AUDIO_DRIVER_ARTS, [])
21 +AH_TEMPLATE(SDL_AUDIO_DRIVER_ARTS_DYNAMIC, [])
22 +AH_TEMPLATE(SDL_AUDIO_DRIVER_BAUDIO, [])
23 +AH_TEMPLATE(SDL_AUDIO_DRIVER_BSD, [])
24 +AH_TEMPLATE(SDL_AUDIO_DRIVER_COREAUDIO, [])
25 +AH_TEMPLATE(SDL_AUDIO_DRIVER_DISK, [])
26 +AH_TEMPLATE(SDL_AUDIO_DRIVER_DMEDIA, [])
27 +AH_TEMPLATE(SDL_AUDIO_DRIVER_DSOUND, [])
28 +AH_TEMPLATE(SDL_AUDIO_DRIVER_DUMMY, [])
29 +AH_TEMPLATE(SDL_AUDIO_DRIVER_ESD, [])
30 +AH_TEMPLATE(SDL_AUDIO_DRIVER_ESD_DYNAMIC, [])
31 +AH_TEMPLATE(SDL_AUDIO_DRIVER_MINT, [])
32 +AH_TEMPLATE(SDL_AUDIO_DRIVER_MMEAUDIO, [])
33 +AH_TEMPLATE(SDL_AUDIO_DRIVER_NAS, [])
34 +AH_TEMPLATE(SDL_AUDIO_DRIVER_NAS_DYNAMIC, [])
35 +AH_TEMPLATE(SDL_AUDIO_DRIVER_OSS, [])
36 +AH_TEMPLATE(SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H, [])
37 +AH_TEMPLATE(SDL_AUDIO_DRIVER_PAUD, [])
38 +AH_TEMPLATE(SDL_AUDIO_DRIVER_PULSE, [])
39 +AH_TEMPLATE(SDL_AUDIO_DRIVER_PULSE_DYNAMIC, [])
40 +AH_TEMPLATE(SDL_AUDIO_DRIVER_QNXNTO, [])
41 +AH_TEMPLATE(SDL_AUDIO_DRIVER_SUNAUDIO, [])
42 +AH_TEMPLATE(SDL_AUDIO_DRIVER_WAVEOUT, [])
43 +AH_TEMPLATE(SDL_BYTEORDER, [])
44 +AH_TEMPLATE(SDL_CDROM_AIX, [])
45 +AH_TEMPLATE(SDL_CDROM_BEOS, [])
46 +AH_TEMPLATE(SDL_CDROM_BSDI, [])
47 +AH_TEMPLATE(SDL_CDROM_DISABLED, [])
48 +AH_TEMPLATE(SDL_CDROM_FREEBSD, [])
49 +AH_TEMPLATE(SDL_CDROM_LINUX, [])
50 +AH_TEMPLATE(SDL_CDROM_MACOSX, [])
51 +AH_TEMPLATE(SDL_CDROM_MINT, [])
52 +AH_TEMPLATE(SDL_CDROM_OPENBSD, [])
53 +AH_TEMPLATE(SDL_CDROM_OSF, [])
54 +AH_TEMPLATE(SDL_CDROM_QNX, [])
55 +AH_TEMPLATE(SDL_CDROM_WIN32, [])
56 +AH_TEMPLATE(SDL_CPUINFO_DISABLED, [])
57 +AH_TEMPLATE(SDL_EVENTS_DISABLED, [])
58 +AH_TEMPLATE(SDL_FILE_DISABLED, [])
59 +AH_TEMPLATE(SDL_HAS_64BIT_TYPE, [])
60 +AH_TEMPLATE(SDL_HERMES_BLITTERS, [])
61 +AH_TEMPLATE(SDL_INPUT_LINUXEV, [])
62 +AH_TEMPLATE(SDL_INPUT_TSLIB, [])
63 +AH_TEMPLATE(SDL_JOYSTICK_BEOS, [])
64 +AH_TEMPLATE(SDL_JOYSTICK_DISABLED, [])
65 +AH_TEMPLATE(SDL_JOYSTICK_DUMMY, [])
66 +AH_TEMPLATE(SDL_JOYSTICK_IOKIT, [])
67 +AH_TEMPLATE(SDL_JOYSTICK_LINUX, [])
68 +AH_TEMPLATE(SDL_JOYSTICK_MINT, [])
69 +AH_TEMPLATE(SDL_JOYSTICK_RISCOS, [])
70 +AH_TEMPLATE(SDL_JOYSTICK_USBHID, [])
71 +AH_TEMPLATE(SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H, [])
72 +AH_TEMPLATE(SDL_JOYSTICK_WINMM, [])
73 +AH_TEMPLATE(SDL_LOADSO_BEOS, [])
74 +AH_TEMPLATE(SDL_LOADSO_DISABLED, [])
75 +AH_TEMPLATE(SDL_LOADSO_DLCOMPAT, [])
76 +AH_TEMPLATE(SDL_LOADSO_DLOPEN, [])
77 +AH_TEMPLATE(SDL_LOADSO_LDG, [])
78 +AH_TEMPLATE(SDL_LOADSO_WIN32, [])
79 +AH_TEMPLATE(SDL_THREADS_DISABLED, [])
80 +AH_TEMPLATE(SDL_THREAD_BEOS, [])
81 +AH_TEMPLATE(SDL_THREAD_PTH, [])
82 +AH_TEMPLATE(SDL_THREAD_PTHREAD, [])
83 +AH_TEMPLATE(SDL_THREAD_PTHREAD_RECURSIVE_MUTEX, [])
84 +AH_TEMPLATE(SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP, [])
85 +AH_TEMPLATE(SDL_THREAD_SPROC, [])
86 +AH_TEMPLATE(SDL_THREAD_WIN32, [])
87 +AH_TEMPLATE(SDL_TIMERS_DISABLED, [])
88 +AH_TEMPLATE(SDL_TIMER_BEOS, [])
89 +AH_TEMPLATE(SDL_TIMER_MINT, [])
90 +AH_TEMPLATE(SDL_TIMER_RISCOS, [])
91 +AH_TEMPLATE(SDL_TIMER_UNIX, [])
92 +AH_TEMPLATE(SDL_TIMER_WIN32, [])
93 +AH_TEMPLATE(SDL_TIMER_WINCE, [])
94 +AH_TEMPLATE(SDL_VIDEO_DISABLED, [])
95 +AH_TEMPLATE(SDL_VIDEO_DISABLE_SCREENSAVER, [])
96 +AH_TEMPLATE(SDL_VIDEO_DRIVER_AALIB, [])
97 +AH_TEMPLATE(SDL_VIDEO_DRIVER_ACESS, [])
98 +AH_TEMPLATE(SDL_VIDEO_DRIVER_BWINDOW, [])
99 +AH_TEMPLATE(SDL_VIDEO_DRIVER_CACA, [])
100 +AH_TEMPLATE(SDL_VIDEO_DRIVER_DDRAW, [])
101 +AH_TEMPLATE(SDL_VIDEO_DRIVER_DGA, [])
102 +AH_TEMPLATE(SDL_VIDEO_DRIVER_DIRECTFB, [])
103 +AH_TEMPLATE(SDL_VIDEO_DRIVER_DUMMY, [])
104 +AH_TEMPLATE(SDL_VIDEO_DRIVER_FBCON, [])
105 +AH_TEMPLATE(SDL_VIDEO_DRIVER_GEM, [])
106 +AH_TEMPLATE(SDL_VIDEO_DRIVER_GGI, [])
107 +AH_TEMPLATE(SDL_VIDEO_DRIVER_IPOD, [])
108 +AH_TEMPLATE(SDL_VIDEO_DRIVER_NANOX, [])
109 +AH_TEMPLATE(SDL_VIDEO_DRIVER_PHOTON, [])
110 +AH_TEMPLATE(SDL_VIDEO_DRIVER_PICOGUI, [])
111 +AH_TEMPLATE(SDL_VIDEO_DRIVER_PS2GS, [])
112 +AH_TEMPLATE(SDL_VIDEO_DRIVER_PS3, [])
113 +AH_TEMPLATE(SDL_VIDEO_DRIVER_QTOPIA, [])
114 +AH_TEMPLATE(SDL_VIDEO_DRIVER_QUARTZ, [])
115 +AH_TEMPLATE(SDL_VIDEO_DRIVER_RISCOS, [])
116 +AH_TEMPLATE(SDL_VIDEO_DRIVER_SVGALIB, [])
117 +AH_TEMPLATE(SDL_VIDEO_DRIVER_TOOLBOX, [])
118 +AH_TEMPLATE(SDL_VIDEO_DRIVER_VGL, [])
119 +AH_TEMPLATE(SDL_VIDEO_DRIVER_WINDIB, [])
120 +AH_TEMPLATE(SDL_VIDEO_DRIVER_WSCONS, [])
121 +AH_TEMPLATE(SDL_VIDEO_DRIVER_X11, [])
122 +AH_TEMPLATE(SDL_VIDEO_DRIVER_X11_DGAMOUSE, [])
123 +AH_TEMPLATE(SDL_VIDEO_DRIVER_X11_DYNAMIC, [])
124 +AH_TEMPLATE(SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT, [])
125 +AH_TEMPLATE(SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR, [])
126 +AH_TEMPLATE(SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER, [])
127 +AH_TEMPLATE(SDL_VIDEO_DRIVER_X11_VIDMODE, [])
128 +AH_TEMPLATE(SDL_VIDEO_DRIVER_X11_XINERAMA, [])
129 +AH_TEMPLATE(SDL_VIDEO_DRIVER_X11_XME, [])
130 +AH_TEMPLATE(SDL_VIDEO_DRIVER_X11_XRANDR, [])
131 +AH_TEMPLATE(SDL_VIDEO_DRIVER_X11_XV, [])
132 +AH_TEMPLATE(SDL_VIDEO_DRIVER_XBIOS, [])
133 +AH_TEMPLATE(SDL_VIDEO_OPENGL, [])
134 +AH_TEMPLATE(SDL_VIDEO_OPENGL_GLX, [])
135 +AH_TEMPLATE(SDL_VIDEO_OPENGL_OSMESA, [])
136 +AH_TEMPLATE(SDL_VIDEO_OPENGL_OSMESA_DYNAMIC, [])
137 +AH_TEMPLATE(SDL_VIDEO_OPENGL_WGL, [])
138 +AH_TEMPLATE(int8_t, [Signed 8-bit int])
139 +AH_TEMPLATE(int16_t, [Signed 16-bit int])
140 +AH_TEMPLATE(int32_t, [Signed 32-bit int])
141 +AH_TEMPLATE(int64_t, [Signed 64-bit int])
142 +AH_TEMPLATE(uint8_t, [Unigned 8-bit int])
143 +AH_TEMPLATE(uint16_t, [Unigned 16-bit int])
144 +AH_TEMPLATE(uint32_t, [Unigned 32-bit int])
145 +AH_TEMPLATE(uint64_t, [Unigned 64-bit int])
146 +AH_TEMPLATE(uintptr_t, [Unsigned pointer-sized integer])
148 dnl Detect the canonical build and host environments
149 AC_CONFIG_AUX_DIR([build-scripts])
150 dnl AC_CANONICAL_HOST
151 @@ -2831,6 +2972,16 @@
152 # The RISC OS platform requires special setup.
153 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ljpeg -ltiff -lpng -lz"
157 + # Set up files for the video library
158 + if test x$enable_video = xyes; then
159 + AC_DEFINE(SDL_VIDEO_DRIVER_ACESS)
160 + SOURCES="$SOURCES $srcdir/src/video/acess/*.c"
167 *** Unsupported host: Please add to configure.in