blob: ab8bf168b1f5633d90323fea9c8edb4fe5e0a65a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- extconf.rb.orig 2003-08-17 12:04:32.000000000 +0900
+++ extconf.rb 2004-01-31 18:22:35.000000000 +0900
@@ -52,7 +52,7 @@
$objs = ["glu.o", "ogl.o", "rbogl.o"]
#have_library("pthread", "pthread_create")
-if have_ogl_library(gl_libname) && have_ogl_library(glu_libname)
+if have_ogl_library(gl_libname, "glBegin") && have_ogl_library(glu_libname, "gluLookAt")
create_makefile("opengl")
File.rename("Makefile", "Makefile.ogl")
modules = modules + "opengl.#{CONFIG['DLEXT']}"
@@ -63,7 +63,7 @@
end
$objs = ["glut.o"]
-if have_library(glut_libname)
+if have_library(glut_libname, "glutInit")
create_makefile("glut")
File.rename("Makefile", "Makefile.glut")
modules = "glut.#{CONFIG['DLEXT']} " + modules
|