Update ooo320-m1
[ooovba.git] / redland / rasqal / rasqal-0.9.16.patch.autotools
blob100499dd3ed8b17e3441b28318baeaebcd3a0368
1 --- misc/rasqal-0.9.16/ltmain.sh        Tue Apr 29 23:33:55 2008
2 +++ misc/build/rasqal-0.9.16/ltmain.sh  Wed Feb 18 13:25:00 2009
3 @@ -1565,6 +1565,11 @@
4         [\\/]* | [A-Za-z]:[\\/]*) ;;
5         *)
6           absdir=`cd "$dir" && pwd`
7 +         case $host_os in
8 +           mingw*)
9 +             absdir=`cygpath -m $absdir`
10 +             ;;
11 +         esac
12           if test -z "$absdir"; then
13             $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
14             absdir="$dir"
15 @@ -3262,9 +3267,9 @@
16             revision="$number_revision"
17             ;;
18           freebsd-aout|freebsd-elf|sunos)
19 -           current="$number_major"
20 -           revision="$number_minor"
21 -           age="0"
22 +           current=`expr $number_major + $number_minor`
23 +           age="$number_minor"
24 +           revision="$number_revision"
25             ;;
26           irix|nonstopux)
27             current=`expr $number_major + $number_minor`
28 @@ -3344,8 +3349,8 @@
29           ;;
31         freebsd-elf)
32 -         major=".$current"
33 -         versuffix=".$current";
34 +         major=.`expr $current - $age`
35 +         versuffix="$major.$age.$revision"
36           ;;
38         irix | nonstopux)