Author: pmichaud
Date: Sat Jul 26 20:29:05 2008
New Revision: 29785
Modified:
trunk/config/auto/opengl.pm
Log:
[configure]: Fix config/auto/opengl.pm to match coding standards.
Modified: trunk/config/auto/opengl.pm
==============================================================================
--- trunk/config/auto/opengl.pm (original)
+++ trunk/config/auto/opengl.pm Sat Jul 26 20:29:05 2008
@@ -169,14 +169,16 @@
# Prefer Cygwin/w32api over Cygwin/X, but use X when DISPLAY is set
if ($^O eq 'cygwin' and $ENV{DISPLAY}) {
- $self->_add_to_libs( {
- conf => $conf,
- osname => $osname,
- cc => $cc,
- cygwin => '-lglut -L/usr/X11R6/lib -lGLU -lGL'
- } ) } else {
- $self->_add_to_libs( {
- conf => $conf,
+ $self->_add_to_libs( {
+ conf => $conf,
+ osname => $osname,
+ cc => $cc,
+ cygwin => '-lglut -L/usr/X11R6/lib -lGLU -lGL'
+ } )
+ }
+ else {
+ $self->_add_to_libs( {
+ conf => $conf,
osname => $osname,
cc => $cc,
win32_gcc => '-lglut32 -lglu32 -lopengl32',