Error out if the user asked us to install dumpcap with a particular group but
we are not building dumpcap.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37208
f5534014-38df-0310-8fa8-
9805f1628bb7
if test "x$withval" = "xyes"; then
AC_MSG_ERROR([No dumpcap group specified.])
elif test "x$withval" != "xno"; then
+ if test "x$enable_dumpcap" = "xno" ; then
+ AC_MSG_ERROR(dumpcap group install works only with dumpcap but dumpcap is disabled)
+ fi
AC_MSG_RESULT($withval)
DUMPCAP_GROUP="$withval"
fi