summaryrefslogtreecommitdiff
path: root/science/vmd/files/patch-configure
blob: 19f2bb9934d1dff6bd82643cc24f124f183f1a05 (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
--- configure-xxx	Fri Dec  5 13:20:58 2003
+++ configure	Thu Aug 12 00:22:30 2004
@@ -1174,8 +1174,10 @@
 
     # XFree 4.0 Direct Rendering Interface and GLX 
     $opengl_dir         = "/usr/X11R6";
-    $opengl_include     = "-I$opengl_dir/include";
-    $opengl_library     = "-L$opengl_dir/lib";
+# -DGLX_GLXEXT_LEGACY is required for patched OpenGLExtensions.C to compile.
+# See patched OpenGLExtensions.C for explanation.
+    $opengl_include     = "-DGLX_GLXEXT_LEGACY -I$opengl_dir/include";
+    $opengl_library     = "-L$opengl_dir/lib -L/usr/local/lib";
     $opengl_libs        = "-lGL -lGLU"; 
 
     $arch_lex      = "flex";
@@ -1209,7 +1211,7 @@
 
     # this is to make tcl happy,
     # also needed for plugins
-    $system_libs .= " -ldl";
+    # $system_libs .= " -ldl";
  
     if ($config_python) {
       # this is to make python happy