Code

Node tool: fix snapping of node rotation center
[inkscape.git] / tools-version.sh
1 #!/bin/sh
2 # Report the version of distro and tools building inkscape
3 #
4 # You can get the latest distro command from 
5 # distro web page: http://distro.pipfield.ca/ 
7 # Please add a tool you want to check
8 TOOLS="m4 autoconf autoheader automake automake-1.7 automake-1.8 automake-1.9 aclocal aclocal-1.7 aclocal-1.8 aclocal-1.9 intltoolize gettextize "
9 ENVPATTERN='PATH\|FLAGS\|LANG'
11 srcdir=`dirname $0`
12 test -z "$srcdir" && srcdir=.
14 echo '============================================================================='
15 echo 'When you report a trouble about building BZR version of inkscape,            '
16 echo 'Please report following information about distro and tools version, too.     '
17 echo 
18 (echo '--1. distribution------------------------------------------------------------'
19 $srcdir/distro -a
20 echo )
22 (echo '--2. tools-------------------------------------------------------------------'
23 for x in $TOOLS; do 
24     loc=`which $x 2>/dev/null`
25     if [ -z "$loc" ]; then
26         echo "$x: not found"
27     else 
28         echo -n "$loc: "
29         y=`echo $x | cut -f1 -d-`
30         $x --version </dev/null | grep $y
31     fi
32 done 
33 echo )
35 (echo '--3. environment variables---------------------------------------------------'
36 env | grep -e $ENVPATTERN
37 echo )
38 echo '============================================================================='