aboutsummaryrefslogtreecommitdiffstats
path: root/macros/xerces-version.pl
diff options
context:
space:
mode:
authorAndrew Hughes Chatham <chatham@src.gnome.org>2001-06-07 21:54:51 +0800
committerAndrew Hughes Chatham <chatham@src.gnome.org>2001-06-07 21:54:51 +0800
commit1576914644c6a83c6d2429c79c357c72b07906d0 (patch)
treead8b5a320ac894c987fb47da293d04082f1e21ef /macros/xerces-version.pl
parent0725bd7383b282ce3b8cfd40bcb5e28e29127457 (diff)
downloadgsoc2013-evolution-1576914644c6a83c6d2429c79c357c72b07906d0.tar
gsoc2013-evolution-1576914644c6a83c6d2429c79c357c72b07906d0.tar.gz
gsoc2013-evolution-1576914644c6a83c6d2429c79c357c72b07906d0.tar.bz2
gsoc2013-evolution-1576914644c6a83c6d2429c79c357c72b07906d0.tar.lz
gsoc2013-evolution-1576914644c6a83c6d2429c79c357c72b07906d0.tar.xz
gsoc2013-evolution-1576914644c6a83c6d2429c79c357c72b07906d0.tar.zst
gsoc2013-evolution-1576914644c6a83c6d2429c79c357c72b07906d0.zip
Added .cvsignore files and changed the configure script so that it will
detect the presence of uuid/uuid.h and also detect the right version of xerces. Removed as many references to XERCESCROOT as possible (all of them, I believe). svn path=/trunk/; revision=10144
Diffstat (limited to 'macros/xerces-version.pl')
-rw-r--r--macros/xerces-version.pl13
1 files changed, 13 insertions, 0 deletions
diff --git a/macros/xerces-version.pl b/macros/xerces-version.pl
new file mode 100644
index 0000000000..5c21b4e275
--- /dev/null
+++ b/macros/xerces-version.pl
@@ -0,0 +1,13 @@
+#!/usr/bin/perl
+
+$maj = 0;
+$min = 0;
+while (<>) {
+ if (/xerces-c(\d+)_(\d+)\.so$/) {
+ if ($1 > $maj || (\\$1 == $maj && \$2 > $min)) {
+ $maj = $1;
+ $min = $2;
+ }
+ }
+}
+print $maj,"_",$min