build ODBC sample under MSW too if wxUSE_ODBC (closes 1083805)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2005-02-23 16:44:20 +00:00
parent 789f679516
commit a8e4cf2522

View File

@ -3230,18 +3230,19 @@ if test "$TOOLKIT" != "MSW" ; then
wxUSE_ODBC=sys
fi
fi
if test "$wxUSE_ODBC" != "no" ; then
AC_DEFINE(wxUSE_ODBC)
if test "$wxUSE_ODBC" = "builtin" ; then
AC_DEFINE(wxUSE_BUILTIN_IODBC)
fi
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
dnl is this still necessary in 2.5?
WXODBCFLAG="-D_IODBC_"
if test "$wxUSE_ODBC" = "builtin" ; then
AC_DEFINE(wxUSE_BUILTIN_IODBC)
fi
fi
if test "$wxUSE_ODBC" != "no" ; then
AC_DEFINE(wxUSE_ODBC)
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
dnl is this still necessary?
WXODBCFLAG="-D_IODBC_"
fi
dnl ---------------------------------------------------------------------------
dnl wxDisplay Sanity checks