e4486fe169
More parse fixing for android os string.
58 lines
2.1 KiB
Text
58 lines
2.1 KiB
Text
--- misc/rasqal-0.9.16/config.sub 2008-06-28 19:57:26.000000000 +0200
|
|
+++ misc/build/rasqal-0.9.16/config.sub 2011-09-27 15:08:16.000000000 +0200
|
|
@@ -120,7 +120,7 @@
|
|
# Here we must recognize all the valid KERNEL-OS combinations.
|
|
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
|
case $maybe_os in
|
|
- nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
|
|
+ nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
|
|
uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
|
|
storm-chaos* | os2-emx* | rtmk-nova*)
|
|
os=-$maybe_os
|
|
@@ -1262,7 +1262,7 @@
|
|
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
|
| -chorusos* | -chorusrdb* | -cegcc* \
|
|
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
|
- | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
|
|
+ | -mingw32* | -linux-gnu* | -linux-androideabi* | -linux-newlib* | -linux-uclibc* \
|
|
| -uxpv* | -beos* | -mpeix* | -udk* \
|
|
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
|
|
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
|
|
--- misc/rasqal-0.9.16/ltmain.sh Tue Apr 29 23:33:55 2008
|
|
+++ misc/build/rasqal-0.9.16/ltmain.sh Wed Feb 18 13:25:00 2009
|
|
@@ -1565,6 +1565,11 @@
|
|
[\\/]* | [A-Za-z]:[\\/]*) ;;
|
|
*)
|
|
absdir=`cd "$dir" && pwd`
|
|
+ case $host_os in
|
|
+ mingw*)
|
|
+ absdir=`cygpath -m $absdir`
|
|
+ ;;
|
|
+ esac
|
|
if test -z "$absdir"; then
|
|
$echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
|
|
absdir="$dir"
|
|
@@ -3262,9 +3267,9 @@
|
|
revision="$number_revision"
|
|
;;
|
|
freebsd-aout|freebsd-elf|sunos)
|
|
- current="$number_major"
|
|
- revision="$number_minor"
|
|
- age="0"
|
|
+ current=`expr $number_major + $number_minor`
|
|
+ age="$number_minor"
|
|
+ revision="$number_revision"
|
|
;;
|
|
irix|nonstopux)
|
|
current=`expr $number_major + $number_minor`
|
|
@@ -3344,8 +3349,8 @@
|
|
;;
|
|
|
|
freebsd-elf)
|
|
- major=".$current"
|
|
- versuffix=".$current";
|
|
+ major=.`expr $current - $age`
|
|
+ versuffix="$major.$age.$revision"
|
|
;;
|
|
|
|
irix | nonstopux)
|