diff options
author | Jörg Mayer <jmayer@loplof.de> | 2006-02-14 14:42:37 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2006-02-14 14:42:37 +0000 |
commit | e35eef9c0ac5445a6e80682f53e8a05c2e49953a (patch) | |
tree | 48888cbb8859e76446c7439c490238688bd209f2 /configure.in | |
parent | 94c71f063dcfe2634cf4fd5025a1dba42d066ff6 (diff) | |
download | wireshark-e35eef9c0ac5445a6e80682f53e8a05c2e49953a.tar.gz |
Change suid to take dumpcap into account
svn path=/trunk/; revision=17299
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 6 |
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) |