X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e201b348b92f98e2b91c4fb0a5d5c9e18797821f..f1b1ecf0200d1c790c2852b99d0fe20f30b3a08d:/configure.in diff --git a/configure.in b/configure.in index a06af8e7ba..95b8aa9a55 100644 --- a/configure.in +++ b/configure.in @@ -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