summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-21 16:25:33 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-21 16:25:33 +0000
commitae895cb0108b0be523cec70a543b63e2abbd073b (patch)
treebeb2c97614f038fd6ff28a0fd7d5eb875e3d5666
parentaad77f47af55a08a9f31d531af1d9304816da747 (diff)
Fix broken function vcheck() that checks one dot-delimited version string against another
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6422 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--make/utilities.pm6
-rw-r--r--src/modules/extra/m_sqlite3.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/make/utilities.pm b/make/utilities.pm
index 807da8c9d..7a45ebb3e 100644
--- a/make/utilities.pm
+++ b/make/utilities.pm
@@ -2,7 +2,7 @@ package make::utilities;
use Exporter 'import';
use POSIX;
use Getopt::Long;
-@EXPORT = qw(make_rpath pkgconfig_get_include_dirs pkgconfig_get_lib_dirs pkgconfig_check_version translate_functions promptstring);
+@EXPORT = qw(make_rpath pkgconfig_get_include_dirs pkgconfig_get_lib_dirs pkgconfig_check_version translate_functions promptstring vcheck);
# Parse the output of a *_config program,
# such as pcre_config, take out the -L
@@ -160,8 +160,8 @@ sub vcheck($$)
$version2 =~ s/\-//g;
$version1 =~ s/a-z//g;
$version2 =~ s/a-z//g;
- my @v1 = split('.', $version1);
- my @v2 = split('.', $version2);
+ my @v1 = split('\.', $version1);
+ my @v2 = split('\.', $version2);
for ($curr = 0; $curr < scalar(@v1); $curr++)
{
if ($v1[$curr] < $v2[$curr])
diff --git a/src/modules/extra/m_sqlite3.cpp b/src/modules/extra/m_sqlite3.cpp
index 9568b9708..e64932751 100644
--- a/src/modules/extra/m_sqlite3.cpp
+++ b/src/modules/extra/m_sqlite3.cpp
@@ -25,7 +25,7 @@
#include "m_sqlv2.h"
/* $ModDesc: sqlite3 provider */
-/* $CompileFlags: pkgconfversion("sqlite3","3.3") pkgconfincludes("sqlite3","/sqlite3.h","") */
+/* $CompileFlags: pkgconfversion("sqlite3","3.4") pkgconfincludes("sqlite3","/sqlite3.h","") */
/* $LinkerFlags: pkgconflibs("sqlite3","/libsqlite3.so","-lsqlite3") */
/* $ModDep: m_sqlv2.h */