X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=configure.ac;h=78bcb8a1bf64ff381034bf1eb3863b3f40bad0d3;hb=c3f30a84f871992ebc69c5b859484dec02780427;hp=f0c72fefd4cbeac126fcfdc4c9faa8b5ae481142;hpb=69486c2e62f1919827fc6b0c5b65b8cd6fc5384a;p=ctsim.git diff --git a/configure.ac b/configure.ac index f0c72fe..78bcb8a 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,7 @@ AC_PROG_CXX AC_C_BIGENDIAN AC_PATH_PROG(wxconfig,wxgtk-2.4-config) -if [ ! "$wxconfig" ]; then +if test -z "$wxconfig" ; then AC_PATH_PROG(wxconfig,wx-config) fi @@ -338,7 +338,7 @@ if test "$with_x" != "no" && test "$wxwin" = "true"; then ctlib_graphics="$ctlib_graphics -lGL -lGLU" if test "$wxwin" = "true" ; then if [ "$wx_gtk" ]; then - ctlib_graphics="$ctlib_graphics `wx-config --libs` -lwx_gtk_gl-2.4 `gtk-config --libs` `glib-config --libs glib gmodule gthread`" + ctlib_graphics="$ctlib_graphics `$wxconfig --libs` -lwx_gtk_gl-2.4 `gtk-config --libs` `glib-config --libs glib gmodule gthread`" elif [ "$wx_mac" ]; then ctlib_graphics="$ctlib_graphics -lwx_mac_gl-2.4" fi