fixed another leftover from libgtk1.2-dev
[ctsim.git] / configure.ac
index 2da9f449d887def9e37b9bc1b3d225510535255c..230c87534c26949a1da72918722e8d6140471678 100644 (file)
@@ -347,7 +347,7 @@ if test "$with_x" != "no" && test "$wxwin" = "true"; then
          wxdebug="--debug"
        fi  
       if [ "$wx_gtk" ]; then 
          wxdebug="--debug"
        fi  
       if [ "$wx_gtk" ]; then 
-       ctlib_graphics="$ctlib_graphics `$wxconfig $wxdebug --libs --version=2.8` -lwx_gtk2u_gl-2.8 `gtk-config --libs` `glib-config --libs glib gmodule gthread`"
+       ctlib_graphics="$ctlib_graphics `$wxconfig $wxdebug --libs --version=2.8` -lwx_gtk2u_gl-2.8 ${GTK_LIBS} ${GLIB_LIBS}"
       elif [ "$wx_mac" ]; then
         ctlib_graphics="$ctlib_graphics -lwx_mac_gl-2.8"
       fi
       elif [ "$wx_mac" ]; then
         ctlib_graphics="$ctlib_graphics -lwx_mac_gl-2.8"
       fi