3 TEST=`type type|grep not`
4 if test -n "$TEST"; then
10 echo "On some systems, you may need to change /bin/sh to point to bash"
12 echo "Please submit the following information with your bug report: "
13 echo "--------------------------------------------------------------"
14 OS=`uname -s 2>/dev/null`
16 REL=`uname -r 2>/dev/null`
17 echo "OS RELEASE : $REL"
18 HW=`uname -m 2>/dev/null`
21 TEST=`$WHICH gcc 2>/dev/null`
22 if test -n "$TEST"; then
23 VERS=`gcc --version 2>/dev/null | head -n 1`
26 echo "gcc : Not Found";
29 TEST=`$WHICH gmake 2>/dev/null`
30 if test -n "$TEST" ; then
31 gmake --version 2>/dev/null |\
32 awk -F, '{print $1}' |\
33 awk '/GNU Make/{print "GNU gmake :",$NF}'
35 TEST=`make --version 2>/dev/null`
36 if test -n "$TEST"; then
37 make --version 2>/dev/null |\
38 awk -F, '{print $1}' |\
39 awk '/GNU Make/{print "make :",$NF}'
41 echo "make : Not Found"
45 TEST=`$WHICH autoconf 2>/dev/null`
46 if test -n "$TEST"; then
50 if (length($4) == 0) {\
51 print "autoconf : "$3\
53 print "autoconf : "$4\
56 echo "autoconf : Not Found"
59 TEST=`$WHICH automake 2>/dev/null`
60 if test -n "$TEST"; then
61 automake --version 2>/dev/null |\
63 awk '{print "automake : "$4}'
65 echo "automake : Not Found"
68 TEST=`$WHICH libtool 2>/dev/null`
69 if test -n "$TEST"; then
70 libtool --version 2>/dev/null |\
72 awk '{print "libtool : "$4}'
74 echo "libtool : Not Found"
77 TEST=`$WHICH extract 2>/dev/null`
78 if test -n "$TEST"; then
79 extract -v 2>/dev/null |\
81 awk '{print "libextractor : "$2}'
83 echo "libextractor : Not Found"
86 TEST=`$WHICH gnunetd 2>/dev/null`
87 if test -n "$TEST"; then
88 gnunetd -v | sed -e "s/v//" 2>/dev/null |\
89 awk '{print "GNUnet : "$2}'
91 echo "GNUnet : Not Found"
94 TEST=`$WHICH libgcrypt-config 2> /dev/null`
95 if test -n "$TEST"; then
96 libgcrypt-config --version 2> /dev/null | \
97 awk '{print "libgcrypt : "$1}'
99 echo "libgcrypt : Not Found"
102 TEST=`$WHICH mysql_config 2> /dev/null`
103 if test -n "$TEST"; then
104 mysql_config --version 2> /dev/null | \
105 awk '{print "mysql : "$1}'
107 echo "mysql : Not Found"
110 TEST=`$WHICH pkg-config 2> /dev/null`
111 if test -n "$TEST"; then
112 pkg-config --version 2> /dev/null | \
113 awk '{print "pkg-config : "$1}'
115 echo "pkg-config : Not Found"
118 TEST=`$WHICH pkg-config 2> /dev/null`
119 if test -n "$TEST"; then
120 pkg-config --modversion glib-2.0 2> /dev/null | \
121 awk '{print "glib2 : "$1}'
123 echo "glib2 : Not Found"
126 TEST=`$WHICH pkg-config 2> /dev/null`
127 if test -n "$TEST"; then
128 pkg-config --modversion gtk+-2.0 2> /dev/null | \
129 awk '{print "gtk2+ : "$1}'
131 echo "gtk2+ : Not Found"
134 TEST=`$WHICH dpkg 2> /dev/null`
135 if test -n "$TEST"; then
136 LINES=`dpkg -s libgmp3-dev | grep Version | wc -l`
137 if test "$LINES" = "1"
139 VERSION=`dpkg -s libgmp3-dev | grep Version | awk '{print $2}'`
140 echo "GMP : libgmp3-dev-$VERSION.deb"
142 echo "GMP : dpkg: libgmp3-dev not installed"
145 TEST=`$WHICH rpm 2> /dev/null`
146 if test -n "$TEST"; then
147 rpm -q gmp | sed -e "s/gmp-//" 2> /dev/null | \
148 awk '{print "GMP : "$1.rpm}'
150 echo "GMP : Test not available"
154 TEST=`$WHICH gettext 2> /dev/null`
155 if test -n "$TEST"; then
156 gettext --version | head -n1 2> /dev/null | \
157 awk '{print "GNU gettext : "$4}'
159 echo "GNU gettext : Not found"
163 TEST=`$WHICH guile 2> /dev/null`
164 if test -n "$TEST"; then
165 guile --version | head -n1 2> /dev/null | \
166 awk '{print "Guile : "$2}'
168 echo "Guile : Not found"
172 TEST=`$WHICH curl-config 2> /dev/null`
173 if test -n "$TEST"; then
174 curl-config --version | head -n1 2> /dev/null | \
175 awk '{print "libcurl : "$2}'
177 echo "libcurl : Not found"
181 TEST=`grep "Id:" /usr/include/adns.h 2> /dev/null`
182 if test -n "$TEST"; then
183 echo "$TEST" | awk '{print "GNU adns : "$4}'
185 echo "GNU adns : Not found"
188 TEST=`which qmake 2> /dev/null`
189 if test -x "$TEST"; then
190 qmake --version | tail -n 1 | awk '{print "Qt : "$4}'
192 echo "Qt : Not found"
200 echo "--------------------------------------------------------------"