aboutsummaryrefslogtreecommitdiff
path: root/contrib/report.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/report.sh')
-rwxr-xr-xcontrib/report.sh17
1 files changed, 14 insertions, 3 deletions
diff --git a/contrib/report.sh b/contrib/report.sh
index cde7aa805..37a1c41ad 100755
--- a/contrib/report.sh
+++ b/contrib/report.sh
@@ -181,9 +181,20 @@ else
181 echo "Qt : Not found" 181 echo "Qt : Not found"
182fi 182fi
183 183
184 184echo -n "MHD : "
185 185TMPFILE=`mktemp /tmp/mhd-version-testXXXXXX`
186 186cat - >$TMPFILE.c <<EOF
187#include <microhttpd.h>
188#include <stdio.h>
189int main()
190{
191 fprintf (stdout, "%X\n", MHD_VERSION);
192 return 0;
193}
194EOF
195
196gcc -o $TMPFILE $TMPFILE.c 2> /dev/null && $TMPFILE || echo "Not found"
197rm -f $TMPFILE $TMPFILE.bin
187 198
188 199
189echo "--------------------------------------------------------------" 200echo "--------------------------------------------------------------"