]> git.saurik.com Git - wxWidgets.git/commitdiff
build ODBC sample under MSW too if wxUSE_ODBC (closes 1083805)
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 23 Feb 2005 16:44:20 +0000 (16:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 23 Feb 2005 16:44:20 +0000 (16:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in

index a06af8e7ba3748ab0785db831efa758962dd8779..95b8aa9a55a592120b8b6f1d15ffacb30660fb20 100644 (file)
@@ -3230,18 +3230,19 @@ if test "$TOOLKIT" != "MSW" ; then
             wxUSE_ODBC=sys
         fi
     fi
             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
 
     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
 
 dnl ---------------------------------------------------------------------------
 dnl wxDisplay Sanity checks