--- embedaddon/mpd/src/configure 2016/11/01 09:56:12 1.1.1.3 +++ embedaddon/mpd/src/configure 2019/10/22 13:49:55 1.1.1.4 @@ -33,13 +33,16 @@ else fi echo -n "Looking for ng_ipacct ..." -if [ -e /usr/include/netgraph/ng_ipacct.h \ +if [ "$USE_NG_IPACCT" = no ]; then + echo " disabled." +else if [ -e /usr/include/netgraph/ng_ipacct.h \ -o -e /usr/local/include/netgraph/ng_ipacct.h ] then echo " found." echo "#define HAVE_NG_IPACCT 1" >> $CONFIG else echo " not found." +fi fi echo -n "Looking for ng_mppc ..."