#!/bin/sh
# return "working" if nf-config is working, "notworking" otherwise
$1 --flibs | grep -i 'not.*implemented' > /dev/null
if [ $? = 0 ]; then
    echo "notworking"
else
    echo "working"
fi
