dnl and Martin Sperl.
dnl
dnl This script is under the wxWindows licence.
-dnl
+dnl $Id$
dnl ////////////////////////////////////////////////////////////////////////
dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
DEFAULT_wxUSE_IPC=1
DEFAULT_wxUSE_RESOURCES=1
DEFAULT_wxUSE_CONSTRAINTS=1
-DEFAULT_wxUSE_CLIPBOARD=0
+DEFAULT_wxUSE_CLIPBOARD=1
DEFAULT_wxUSE_DND=1
DEFAULT_wxUSE_MDI_ARCHITECTURE=1
**--with-debug_info create code with debuging information,
wxUSE_DEBUG_INFO)
+AC_OVERRIDES(debug_gdb,debug_gdb,
+**--with-debug_gdb create code with extra GDB debuging information,
+wxUSE_DEBUG_GDB)
+
AC_OVERRIDES(mem_tracing,mem_tracing,
**--with-mem_traing create code with memory tracing,
wxUSE_MEM_TRACING)
dnl ----------------------------------------------------------------
WXDEBUG=
-if test "$wxUSE_DEBUG_INFO" = 1 ; then
+if test "$wxUSE_DEBUG_GDB" = 1 ; then
+ wxUSE_DEBUG_INFO=1
WXDEBUG="-ggdb"
wxUSE_OPTIMISE=0
+else
+ if test "$wxUSE_DEBUG_INFO" = 1 ; then
+ WXDEBUG="-g"
+ wxUSE_OPTIMISE=0
+ fi
fi
AC_SUBST(WXDEBUG)