echo "libextractor : Not Found"
fi
-TEST=`$WHICH gnunetd 2>/dev/null`
-if test -n "$TEST"; then
+if test -x gnunetd; then
gnunetd -v | sed -e "s/v//" 2>/dev/null |\
awk '{print "GNUnet 0.8 : "$2 (may conflict!)}'
else
echo "Qt : Not found"
fi
-
-
-
+echo -n "MHD : "
+TMPFILE=`mktemp /tmp/mhd-version-testXXXXXX`
+cat - >$TMPFILE.c <<EOF
+#include <microhttpd.h>
+#include <stdio.h>
+int main()
+{
+ fprintf (stdout, "%X\n", MHD_VERSION);
+ return 0;
+}
+EOF
+
+gcc -o $TMPFILE $TMPFILE.c 2> /dev/null && $TMPFILE || echo "Not found"
+rm -f $TMPFILE $TMPFILE.bin
echo "--------------------------------------------------------------"