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 <<EOF
#line 2103 "configure"
#include "confdefs.h"
echo "$ac_t""yes" 1>&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
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
ac_save_LIBS="$LIBS"
LIBS="-ldmallocxx $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 4658 "configure"
+#line 4661 "configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
-if { (eval echo configure:4665: \"$ac_link\") 1>&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
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"
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
ac_save_LIBS="$LIBS"
LIBS="-lefence $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 4724 "configure"
+#line 4727 "configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
-if { (eval echo configure:4731: \"$ac_link\") 1>&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
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"