aboutsummaryrefslogtreecommitdiff
path: root/contrib/report.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/report.sh')
-rwxr-xr-xcontrib/report.sh18
1 files changed, 13 insertions, 5 deletions
diff --git a/contrib/report.sh b/contrib/report.sh
index 6e1d39949..7fbb2f46c 100755
--- a/contrib/report.sh
+++ b/contrib/report.sh
@@ -10,7 +10,7 @@ fi
10echo "Please submit the following information with your bug report: " 10echo "Please submit the following information with your bug report: "
11echo "--------------------------------------------------------------" 11echo "--------------------------------------------------------------"
12OS=`uname -s 2>/dev/null` 12OS=`uname -s 2>/dev/null`
13echo "OS : $OS" 13echo "OS : $OS"
14REL=`uname -r 2>/dev/null` 14REL=`uname -r 2>/dev/null`
15echo "OS RELEASE : $REL" 15echo "OS RELEASE : $REL"
16HW=`uname -m 2>/dev/null` 16HW=`uname -m 2>/dev/null`
@@ -138,13 +138,13 @@ fi
138 138
139TEST=`$WHICH dpkg 2> /dev/null` 139TEST=`$WHICH dpkg 2> /dev/null`
140if test -n "$TEST"; then 140if test -n "$TEST"; then
141 LINES=`dpkg -s libgmp3-dev | grep Version | wc -l` 141 LINES=`dpkg -s libgmp-dev | grep Version | wc -l 2> /dev/null`
142 if test "$LINES" = "1" 142 if test "$LINES" = "1"
143 then 143 then
144 VERSION=`dpkg -s libgmp3-dev | grep Version | awk '{print $2}'` 144 VERSION=`dpkg -s libgmp-dev | grep Version | awk '{print $2}'`
145 echo "GMP : libgmp3-dev-$VERSION.deb" 145 echo "GMP : libgmp-dev-$VERSION.deb"
146 else 146 else
147 echo "GMP : dpkg: libgmp3-dev not installed" 147 echo "GMP : dpkg: libgmp-dev not installed"
148 fi 148 fi
149else 149else
150 TEST=`$WHICH rpm 2> /dev/null` 150 TEST=`$WHICH rpm 2> /dev/null`
@@ -193,6 +193,14 @@ else
193 echo "libcurl : Not found" 193 echo "libcurl : Not found"
194fi 194fi
195 195
196TEST=`$WHICH gnurl-config 2> /dev/null`
197if test -n "$TEST"; then
198 gnurl-config --version | head -n1 2> /dev/null | \
199 awk '{print "libgnurl : "$2}'
200else
201 echo "libgnurl : Not found"
202fi
203
196echo -n "libmicrohttpd : " 204echo -n "libmicrohttpd : "
197TMPFILE=`mktemp /tmp/mhd-version-testXXXXXX` 205TMPFILE=`mktemp /tmp/mhd-version-testXXXXXX`
198cat - >$TMPFILE.c <<EOF 206cat - >$TMPFILE.c <<EOF