2010-08-05 11:44:28 +02:00
|
|
|
diff -rc DBD-SQLite-1.29/Makefile.PL DBD-SQLite-1.29-new/Makefile.PL
|
|
|
|
*** DBD-SQLite-1.29/Makefile.PL 2010-01-08 10:08:29.000000000 +0100
|
|
|
|
--- DBD-SQLite-1.29-new/Makefile.PL 2010-08-05 11:42:53.000000000 +0200
|
2009-07-02 15:55:38 +02:00
|
|
|
***************
|
2010-08-05 11:44:28 +02:00
|
|
|
*** 123,129 ****
|
|
|
|
# a system sqlite is also sophisticated enough to have a patching system
|
|
|
|
# that can change the if ( 0 ) to if ( 1 )
|
|
|
|
my ($sqlite_local, $sqlite_base, $sqlite_lib, $sqlite_inc);
|
2009-07-02 15:55:38 +02:00
|
|
|
! if ( 0 ) {
|
|
|
|
require File::Spec;
|
|
|
|
if ( $sqlite_base = (grep(/SQLITE_LOCATION=.*/, @ARGV))[0] ) {
|
|
|
|
$sqlite_base =~ /=(.*)/;
|
2010-08-05 11:44:28 +02:00
|
|
|
--- 123,129 ----
|
|
|
|
# a system sqlite is also sophisticated enough to have a patching system
|
|
|
|
# that can change the if ( 0 ) to if ( 1 )
|
|
|
|
my ($sqlite_local, $sqlite_base, $sqlite_lib, $sqlite_inc);
|
2009-07-02 15:55:38 +02:00
|
|
|
! if ( 1 ) {
|
|
|
|
require File::Spec;
|
|
|
|
if ( $sqlite_base = (grep(/SQLITE_LOCATION=.*/, @ARGV))[0] ) {
|
|
|
|
$sqlite_base =~ /=(.*)/;
|
|
|
|
***************
|
2010-08-05 11:44:28 +02:00
|
|
|
*** 184,191 ****
|
|
|
|
} else {
|
|
|
|
# Always the bundled one.
|
|
|
|
# XXX: ... and this message should be more informative.
|
|
|
|
! $sqlite_local = 1;
|
|
|
|
! print "We're using the bundled sqlite library.\n" if $ENV{AUTOMATED_TESTING};
|
|
|
|
}
|
2009-07-02 15:55:38 +02:00
|
|
|
|
|
|
|
@ARGV = grep( ! /SQLITE_LOCATION|USE_LOCAL_SQLITE/, @ARGV );
|
2010-08-05 11:44:28 +02:00
|
|
|
--- 184,191 ----
|
|
|
|
} else {
|
|
|
|
# Always the bundled one.
|
|
|
|
# XXX: ... and this message should be more informative.
|
|
|
|
! # $sqlite_local = 1;
|
|
|
|
! # print "We're using the bundled sqlite library.\n" if $ENV{AUTOMATED_TESTING};
|
|
|
|
}
|
2009-07-02 15:55:38 +02:00
|
|
|
|
|
|
|
@ARGV = grep( ! /SQLITE_LOCATION|USE_LOCAL_SQLITE/, @ARGV );
|