From 99a76aca4609eb6cb4c087baa7354e124b702a3d Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Tue, 17 May 2011 19:59:18 +0000 Subject: Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5875 : Error out if the user asked us to install dumpcap with a particular group but we are not building dumpcap. svn path=/trunk/; revision=37208 --- configure.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 48e3601236..515d9f43cb 100644 --- a/configure.in +++ b/configure.in @@ -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 -- cgit v1.2.3