From a2ab3f8c5a40c724f53e5675c907e2392c724181 Mon Sep 17 00:00:00 2001 From: Gilbert Ramirez Date: Fri, 11 Feb 2000 03:17:58 +0000 Subject: Add Peter Kjellerstedt '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 --- configure.in | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'configure.in') 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) -- cgit v1.2.3