X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=configure;h=9e1d2ff203452ab761ccc4925755d369ac3745be;hp=8c25f9cd7ddd34ab22773397d5e7c5d5f2fe3edb;hb=f217ca2511d7d18fe38b42a257a886a14fb984e8;hpb=1b5dd8ca6569a5862553b0c0a714035755bb4fb7 diff --git a/configure b/configure index 8c25f9c..9e1d2ff 100755 --- a/configure +++ b/configure @@ -4969,7 +4969,7 @@ echo "${ECHO_T}no" >&6; } fi -if ! "$wxconfig" ; then +if test -z "$wxconfig" ; then # Extract the first word of "wx-config", so it can be a program name with args. set dummy wx-config; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 @@ -11133,7 +11133,7 @@ echo "${ECHO_T}yes" >&6; } 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