r477: *** empty log message ***
[ctsim.git] / configure
index f04d35ada2fc84cb05bd65b40bab4ec08da5d3fb..1defa15527770b01cc3b43e5892b69e8ba3aadf8 100755 (executable)
--- a/configure
+++ b/configure
@@ -2238,7 +2238,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lwx_gtk_gl  $LIBS"
+LIBS="-lwx_gtk_gl -lwx_gtk -lGL $LIBS"
 cat > conftest.$ac_ext <<EOF
 #line 2244 "configure"
 #include "confdefs.h"
@@ -4523,7 +4523,7 @@ EOF
 
   fi   
   ctlib_graphics="$ctlib_graphics $X_BASIC_LIBS $X_TOOLKIT_LIBS"
-  if test "$libgl" = "true" -a test "$wxgtkgl" = "true" ; then
+  if test "$libgl" = "true" -a "$wxgtkgl" = "true" ; then
     ctlib_graphics="$ctlib_graphics -lglut -lGL -lGLU -lwx_gtk_gl"
   fi
 else