| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- Index: Makefile.PL
- --- Makefile.PL.orig 2004-10-12 11:03:50 +0200
- +++ Makefile.PL 2004-10-13 19:23:27 +0200
- @@ -7,34 +7,6 @@
- use ExtUtils::MakeMaker;
- use Config;
- use strict;
- -eval {
- - require DBD::SQLite;
- - if ($DBD::SQLite::VERSION < 1.0) {
- - print <<EOT;
- -
- -**** WARNING **** WARNING **** WARNING **** WARNING **** WARNING ****
- -
- -Your version of DBD::SQLite currently installed ($DBD::SQLite::VERSION) uses
- -the old sqlite database format. This version of DBD::SQLite will *NOT*
- -open these files, and installing this module may cause problems on your
- -system. If this is a live environment you should upgrade with caution.
- -
- -To upgrade a database, download and install both sqlite 2.x and 3.x from
- -http://www.sqlite.org/ and issue:
- -
- - sqlite OLD.DB .dump | sqlite3 NEW.DB
- -
- -DBD::SQLite will NOT automatically upgrade a database for you, and using
- -this version against an old SQLite database WILL lead to database
- -corruption.
- -
- -EOT
- - if (prompt("Continue?", "N") !~ /^y/i) {
- - print "Exiting\n";
- - exit -1;
- - }
- - }
- -};
-
- my $nlid = $DBI::VERSION > 1.42 ? '' : '-Dno_last_insert_id';
-
- @@ -43,8 +15,9 @@
- 'VERSION_FROM' => 'lib/DBD/SQLite.pm', # finds $VERSION
- 'PREREQ_PM' => {DBI => 1.21}, # e.g., Module::Name => 1.1
- 'OBJECT' => '$(O_FILES)',
- - 'INC' => '-I. -I$(DBI_INSTARCH_DIR)',
- 'OPTIMIZE' => "-O2",
- + 'INC' => '-I@l_prefix@/include -I$(DBI_INSTARCH_DIR)',
- + 'LIBS' => ['-L@l_prefix@/lib -lsqlite3'],
- 'DEFINE' => "-DNDEBUG=1 -DSQLITE_PTR_SZ=$Config{ptrsize}" .
- ($Config{d_usleep} ? " -DHAVE_USLEEP=1" : "") .
- ($DBI::VERSION > 1.42 ? '' : ' -Dno_last_insert_id'),
- Index: dbdimp.h
- --- dbdimp.h.orig 2004-09-10 17:24:28 +0200
- +++ dbdimp.h 2004-09-24 10:44:37 +0200
- @@ -4,7 +4,7 @@
- #define _DBDIMP_H 1
-
- #include "SQLiteXS.h"
- -#include "sqliteInt.h"
- +#include "sqlite3.h"
-
- /* 30 second timeout by default */
- #define SQL_TIMEOUT 30000
|