Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5875 :
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 17 May 2011 19:59:18 +0000 (19:59 +0000)
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 17 May 2011 19:59:18 +0000 (19:59 +0000)
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

configure.in

index 48e36012369a063a94e786486a5f016bf972e197..515d9f43cb0aa99fb47bb902587f9f9a88397cc9 100644 (file)
@@ -1460,6 +1460,9 @@ AC_ARG_WITH(dumpcap-group,
   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