X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=configure;h=b12e3a6a7832d799b0fe73ed25b2f534d9cf8820;hb=7ba15564e8e5fea507d887cd68e73efeef1cbdb5;hp=185a2e961b68adf0f603a4b7e5702a7f06d618e8;hpb=67fad72dc873923c43d8eaae1f6a4305dc5fd55e;p=ctsim.git diff --git a/configure b/configure index 185a2e9..b12e3a6 100755 --- a/configure +++ b/configure @@ -2090,14 +2090,14 @@ curses=false fi wxwin=false -echo $ac_n "checking for main in -lwx_gtk""... $ac_c" 1>&6 -echo "configure:2095: checking for main in -lwx_gtk" >&5 -ac_lib_var=`echo wx_gtk'_'main | sed 'y%./+-%__p_%'` +echo $ac_n "checking for main in -lwx_gtk-2.2""... $ac_c" 1>&6 +echo "configure:2095: checking for main in -lwx_gtk-2.2" >&5 +ac_lib_var=`echo wx_gtk-2.2'_'main | sed 'y%./+-%__p_%'` 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 $LIBS" +LIBS="-lwx_gtk-2.2 $LIBS" cat > conftest.$ac_ext <&6 ctlib_graphics="$ctlib_graphics $X_BASIC_LIBS $X_TOOLKIT_LIBS" if test "$libgl" = "true" ; then - ctlib_graphics="$ctlib_graphics -lwx_gtk_gl -lglut -lGL -lGLU" + ctlib_graphics="$ctlib_graphics -lglut -lGL -lGLU" + if test "$wxwin" = "true" ; then + ctlib_graphics="$ctlib_graphics -lwx_gtk_gl-2.2" + fi fi if test "$wxwin" = "true" ; then cat >> confdefs.h <<\EOF @@ -4646,7 +4649,7 @@ if test "$ctn" = "true"; then fi echo $ac_n "checking for main in -ldmallocxx""... $ac_c" 1>&6 -echo "configure:4650: checking for main in -ldmallocxx" >&5 +echo "configure:4653: checking for main in -ldmallocxx" >&5 ac_lib_var=`echo dmallocxx'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4654,14 +4657,14 @@ else ac_save_LIBS="$LIBS" LIBS="-ldmallocxx $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4683,7 +4686,7 @@ dmallocxx=false fi echo $ac_n "checking for enable-dmalloc""... $ac_c" 1>&6 -echo "configure:4687: checking for enable-dmalloc" >&5 +echo "configure:4690: checking for enable-dmalloc" >&5 # Check whether --enable-dmalloc or --disable-dmalloc was given. if test "${enable_dmalloc+set}" = set; then enableval="$enable_dmalloc" @@ -4712,7 +4715,7 @@ EOF fi echo $ac_n "checking for main in -lefence""... $ac_c" 1>&6 -echo "configure:4716: checking for main in -lefence" >&5 +echo "configure:4719: checking for main in -lefence" >&5 ac_lib_var=`echo efence'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4720,14 +4723,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lefence $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4749,7 +4752,7 @@ efence=false fi echo $ac_n "checking for enable-efence""... $ac_c" 1>&6 -echo "configure:4753: checking for enable-efence" >&5 +echo "configure:4756: checking for enable-efence" >&5 # Check whether --enable-efence or --disable-efence was given. if test "${enable_efence+set}" = set; then enableval="$enable_efence"