WXDEBUG=
if test "$USE_DEBUG_INFO" = 1 ; then
- WXDEBUG="-g"
+ WXDEBUG="-g -O0"
fi
#define USE_MEMORY_TRACING $USE_MEM_TRACING
EOF
- cat >> confdefs.h <<EOF
-#define USE_GLOBAL_MEMORY_OPERATORS $USE_MEM_TRACING
-EOF
-
-fi
+ fi
PROFILE=
if test "$USE_PROFILE" = 1 ; then
# Extract the first word of "gtk-config", so it can be a program name with args.
set dummy gtk-config; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:6056: checking for $ac_word" >&5
+echo "configure:6052: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
min_gtk_version=0.99.7
echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
-echo "configure:6087: checking for GTK - version >= $min_gtk_version" >&5
+echo "configure:6083: checking for GTK - version >= $min_gtk_version" >&5
no_gtk=""
if test "$GTK_CONFIG" != "no" ; then
GTK_CFLAGS=`$GTK_CONFIG --cflags`
echo $ac_n "cross compiling; assumed OK... $ac_c"
else
cat > conftest.$ac_ext <<EOF
-#line 6100 "configure"
+#line 6096 "configure"
#include "confdefs.h"
#include <gtk/gtk.h>
}
EOF
-if { (eval echo configure:6122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:6118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
:
else
+DL_LIBRARY=-ldl
+
+
+
+
OPENGL_INCLUDE=
OPENGL_LIBRARY=
OPENGL_LINK=
if test "$USE_OPENGL" = 1; then
echo $ac_n "checking for OpenGL includes""... $ac_c" 1>&6
-echo "configure:6173: checking for OpenGL includes" >&5
+echo "configure:6174: checking for OpenGL includes" >&5
ac_find_includes=
for ac_dir in $SEARCH_INCLUDE;
OPENGL_INCLUDE="-I$ac_find_includes"
echo "$ac_t""found $ac_find_includes" 1>&6
echo $ac_n "checking for OpenGL library""... $ac_c" 1>&6
-echo "configure:6188: checking for OpenGL library" >&5
+echo "configure:6189: checking for OpenGL library" >&5
ac_find_libraries=
for ac_dir in $SEARCH_LIB;
s%@GUI_TK_LINK@%$GUI_TK_LINK%g
s%@TOOLKIT@%$TOOLKIT%g
s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
+s%@DL_LIBRARY@%$DL_LIBRARY%g
s%@OPENGL_INCLUDE@%$OPENGL_INCLUDE%g
s%@OPENGL_LIBRARY@%$OPENGL_LIBRARY%g
s%@OPENGL_LINK@%$OPENGL_LINK%g