diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-02-11 03:17:58 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-02-11 03:17:58 +0000 |
commit | a2ab3f8c5a40c724f53e5675c907e2392c724181 (patch) | |
tree | 7261273c6ccd56684499d4bd11e92eef8384bd68 /configure.in | |
parent | 92512bb4a0329df2e0ea7cc8d489be75b81f3241 (diff) | |
download | wireshark-a2ab3f8c5a40c724f53e5675c907e2392c724181.tar.gz wireshark-a2ab3f8c5a40c724f53e5675c907e2392c724181.tar.bz2 wireshark-a2ab3f8c5a40c724f53e5675c907e2392c724181.zip |
Add Peter Kjellerstedt <peter.kjellerstedt@axis.com>'s patches
to add Axis ethernet vendor ID, use libtoolize in autogen.sh, and
provide the very dangerous option of installing ethereal setuid.
I've added a "DANGEROUS" comment to the description of the
--enable-setuid-install option which displays in "./configure --help".
Removed generated files tha old libltdl/.cvsignore brought to my
attention by Peter.
svn path=/trunk/; revision=1616
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 79ef23e418..2591050e1f 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -# $Id: configure.in,v 1.82 2000/02/01 14:12:20 gram Exp $ +# $Id: configure.in,v 1.83 2000/02/11 03:17:43 gram Exp $ dnl dnl Process this file with autoconf 2.13 or later to produce a dnl configure script; 2.12 doesn't generate a "configure" script that @@ -15,6 +15,8 @@ AC_PREREQ(2.13) AM_INIT_AUTOMAKE(ethereal, 0.8.3) +AM_CONDITIONAL(SETUID_INSTALL, test x$enable_setuid_install = xyes) + dnl Check for CPU / vendor / OS AC_CANONICAL_HOST @@ -174,6 +176,17 @@ else fi +dnl Check if ethereal should be installed setuid +AC_ARG_ENABLE(setuid-install, +[ --enable-setuid-install install ethereal as setuid. DANGEROUS!!! [default=no]],,enable_setuid_install=no) + +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) +fi + dnl Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h unistd.h stdarg.h netdb.h dirent.h) |