aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2006-02-14 14:42:37 +0000
committerJörg Mayer <jmayer@loplof.de>2006-02-14 14:42:37 +0000
commite35eef9c0ac5445a6e80682f53e8a05c2e49953a (patch)
tree48888cbb8859e76446c7439c490238688bd209f2 /configure.in
parent94c71f063dcfe2634cf4fd5025a1dba42d066ff6 (diff)
Change suid to take dumpcap into account
svn path=/trunk/; revision=17299
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 180155ffae..4ad5e2ad8c 100644
--- a/configure.in
+++ b/configure.in
@@ -823,7 +823,11 @@ AC_MSG_CHECKING(whether to install ethereal setuid)
if test "x$enable_setuid_install" = "xno" ; then
AC_MSG_RESULT(no)
else
- AC_MSG_RESULT(yes)
+ if test "x$enable_dumpcap" = "xno" ; then
+ AC_MSG_ERROR(Setuid install works only with --enable-dumpcap, but dumpcap disabled)
+ else
+ AC_MSG_RESULT(yes)
+ fi
fi
AM_CONDITIONAL(SETUID_INSTALL, test x$enable_setuid_install = xyes)