blob: 6bdc334ba0b1e1b9816cd3071d9d18aaa2116f38 (
plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
Don't check current display for extensions, build all.
diff -up OpenGL-0.62/Makefile.PL.dist OpenGL-0.62/Makefile.PL
--- OpenGL-0.62/Makefile.PL.dist 2009-12-11 01:10:00.000000000 +0100
+++ OpenGL-0.62/Makefile.PL 2010-01-07 13:00:26.000000000 +0100
@@ -579,9 +579,9 @@ my $build_config =
{
FILES =>
"Config.pm ".
- "utils/glversion.txt ".
- "utils/glversion$Config{exe_ext} ".
- "utils/glversion$Config{obj_ext}"
+ "utils/glversion.txt "
+ #"utils/glversion$Config{exe_ext} ".
+ #"utils/glversion$Config{obj_ext}"
}
};
@@ -790,6 +790,7 @@ sub get_extensions
print "GLUT not found\n";
}
+=cut
# Platform-specific makefiles for glversion
my $make_ver;
if ($IS_MINGW)
@@ -848,7 +849,9 @@ sub get_extensions
print "get_extensions: no extensions found in $glv_file\n" if $verbose;
return '';
}
-
+=cut
+ use Config;
+ my $gldata = { };
# Parse glext_procs.h file
return '' if (!open(GLEXT,"glext_procs.h"));
@@ -867,10 +870,12 @@ sub get_extensions
# Create gl_exclude.h
die "Unable to write to $exc_file\n" if (!open(GLEXC,">$exc_file"));
+=cut
print GLEXC "// OpenGL Extension Exclusions - may be modified before building.\n";
print GLEXC "//\n";
print GLEXC "// Generated for ".$gldata->{VENDOR}.", ".$gldata->{RENDERER}."\n";
print GLEXC "// OpenGL v".$gldata->{VERSION}.", using ";
+=cut
# Fix GLUT flags based on results
if ($gldata->{GLUT} > 0)
|