From: Rafael Kitover <rkitover@cpan.org>
Date: Sat, 29 Aug 2009 00:45:12 +0000 (+0000)
Subject: add sybase and mssql as features to Makefile.PL
X-Git-Tag: 0.04999_08~2^2~1
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3ea1f8cc519eaa250437ab39ee9c95a02fef33d5;p=dbsrgits%2FDBIx-Class-Schema-Loader.git

add sybase and mssql as features to Makefile.PL
---

diff --git a/Makefile.PL b/Makefile.PL
index 8ae715a..ba0f217 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -81,6 +81,30 @@ my $_features = [
             'DBD::Oracle' => '0.19',
         ],
     },
+    SYBASE => {
+        label => 'Sybase Support (experimental)',
+        def   => $ENV{DBIC_FEATURE_SYBASE} || 0,
+        deps  => [
+            'DBI'         => '1.56',
+            'DBD::Sybase' => '1.09',
+        ],
+    },
+    MSSQL => {
+        label => 'Microsoft SQL Server Support via DBD::Sybase (experimental)',
+        def   => $ENV{DBIC_FEATURE_MSSQL} || 0,
+        deps  => [
+            'DBI'         => '1.56',
+            'DBD::Sybase' => '1.09',
+        ],
+    },
+    MSSQL_ODBC => {
+        label => 'Microsoft SQL Server Support via DBD::ODBC (experimental)',
+        def   => $ENV{DBIC_FEATURE_MSSQL} || 0,
+        deps  => [
+            'DBI'       => '1.56',
+            'DBD::ODBC' => '1.22',
+        ],
+    },
 ];
 
 for(my $i = 0; $i <= $#$_features - 1; $i += 2) {