blob: fb29c73ff7988ca6ceba60a81ddefa051a01bf84 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
--- extconf.rb.orig Sat Sep 27 07:59:45 2003
+++ extconf.rb Mon Apr 19 04:07:30 2004
@@ -52,14 +52,14 @@
windows=mswin32||cygwin
unix=!windows
-$CFLAGS+="-funroll-loops " if !mswin32
+$CFLAGS+=" -funroll-loops " if !mswin32
-$CFLAGS+="-Wall " if unix||cygwin
-$CPPFLAGS+="-GX " if mswin32
+$CFLAGS+=" -Wall " if unix||cygwin
+$CPPFLAGS+=" -GX " if mswin32
if unix
- $CFLAGS += `#{sdl_config} --cflags`.chomp
- $LDFLAGS += `#{sdl_config} --libs`.chomp
+ $CFLAGS += " " + `#{sdl_config} --cflags`.chomp
+ $LDFLAGS += " " + `#{sdl_config} --libs`.chomp
end
puts '* Checking for optional files'
@@ -99,7 +99,7 @@
puts '* Checking for required files'
puts ' - SDL from http://www.libsdl.org/download-1.2.html'
-if have_library('SDL', 'SDL_Quit') and have_header('SDL.h')
+if have_func('SDL_Quit') and have_header('SDL.h')
create_makefile('RUDL')
puts '* Done! You may now run make.'
else
|