[BACK]Return to configure.in CVS log [TXT][DIR] Up to [local] / src / usr.bin / sudo

Diff for /src/usr.bin/sudo/Attic/configure.in between version 1.6.4.1 and 1.7

version 1.6.4.1, 2002/01/18 16:14:46 version 1.7, 2002/01/03 03:49:16
Line 1 
Line 1 
 dnl  dnl
 dnl Process this file with GNU autoconf to produce a configure script.  dnl Process this file with GNU autoconf to produce a configure script.
 dnl $Sudo: configure.in,v 1.346 2002/01/16 23:37:34 millert Exp $  dnl $Sudo: configure.in,v 1.341 2002/01/02 22:36:49 millert Exp $
 dnl  dnl
 dnl Copyright (c) 1994-1996,1998-2002 Todd C. Miller <Todd.Miller@courtesan.com>  dnl Copyright (c) 1994-1996,1998-2002 Todd C. Miller <Todd.Miller@courtesan.com>
 dnl  dnl
 AC_INIT(sudo, 1.6.5)  AC_INIT(sudo, 1.6.4)
 AC_CONFIG_HEADER(config.h pathnames.h)  AC_CONFIG_HEADER(config.h pathnames.h)
 dnl  dnl
 dnl This won't work before AC_INIT()  dnl This won't work before AC_INIT()
 dnl  dnl
 echo "Configuring Sudo version 1.6.5"  echo "Configuring Sudo version 1.6.4"
 dnl  dnl
 dnl Variables that get substituted in the Makefile and man pages  dnl Variables that get substituted in the Makefile and man pages
 dnl  dnl
Line 203 
Line 203 
                 ;;                  ;;
 esac])  esac])
   
 AC_ARG_WITH(efence, [  --with-efence           link with -lefence for malloc() debugging],  
 [case $with_efence in  
     yes)        echo 'Sudo will link with -lefence (Electric Fence)'  
                 LIBS="${LIBS} -lefence"  
                 if test -f /usr/local/lib/libefence.a; then  
                     LDFLAGS="${LDFLAGS} -L/usr/local/lib"  
                 fi  
                 ;;  
     no)         ;;  
     *)          echo "Ignoring unknown argument to --with-efence: $with_efence"  
                 ;;  
 esac])  
   
 AC_ARG_WITH(csops, [  --with-csops            add CSOps standard options],  AC_ARG_WITH(csops, [  --with-csops            add CSOps standard options],
 [case $with_csops in  [case $with_csops in
     yes)        echo 'Adding CSOps standard options'      yes)        echo 'Adding CSOps standard options'
Line 964 
Line 951 
   esac    esac
 ], AC_MSG_RESULT(yes))  ], AC_MSG_RESULT(yes))
   
 AC_MSG_CHECKING(whether to disable running the mailer as root)  
 AC_ARG_ENABLE(root-mailer,  
 [  --disable-root-mailer   Don't run the mailer as root, run as the user],  
 [ case "$enableval" in  
     yes)        AC_MSG_RESULT(no)  
                 ;;  
     no)         AC_MSG_RESULT(yes)  
                 AC_DEFINE(NO_ROOT_MAILER, 1, [Define to avoid runing the mailer as root.])  
                 ;;  
     *)          AC_MSG_RESULT(no)  
                 echo "Ignoring unknown argument to --enable-root-mailer: $enableval"  
                 ;;  
   esac  
 ], AC_MSG_RESULT(no))  
   
 AC_MSG_CHECKING(whether to disable use of POSIX saved ids)  
 AC_ARG_ENABLE(saved-ids,  
 [  --disable-saved-ids     Don't try to use POSIX saved ids],  
 [ case "$enableval" in  
     yes)        AC_MSG_RESULT(no)  
                 ;;  
     no)         AC_MSG_RESULT(yes)  
                 AC_DEFINE(NO_SAVED_IDS, 1, [Define to avoid using POSIX saved ids.])  
                 ;;  
     *)          AC_MSG_RESULT(no)  
                 echo "Ignoring unknown argument to --enable-saved-ids: $enableval"  
                 ;;  
   esac  
 ], AC_MSG_RESULT(no))  
   
 AC_MSG_CHECKING(whether to disable shadow password support)  AC_MSG_CHECKING(whether to disable shadow password support)
 AC_ARG_ENABLE(shadow,  AC_ARG_ENABLE(shadow,
 [  --disable-shadow        Never use shadow passwords],  [  --disable-shadow        Never use shadow passwords],
Line 1011 
Line 968 
   
 AC_MSG_CHECKING(whether root should be allowed to use sudo)  AC_MSG_CHECKING(whether root should be allowed to use sudo)
 AC_ARG_ENABLE(root-sudo,  AC_ARG_ENABLE(root-sudo,
 [  --disable-root-sudo     Don't allow root to run sudo],  [  --disable-root-sudo     don't allow root to run sudo],
 [ case "$enableval" in  [ case "$enableval" in
     yes)        AC_MSG_RESULT(yes)      yes)        AC_MSG_RESULT(yes)
                 ;;                  ;;
Line 1394 
Line 1351 
                     AC_CHECK_LIB(gen, getspnam, AC_DEFINE(HAVE_GETSPNAM) [SUDO_LIBS="${SUDO_LIBS} -lgen"; LIBS="${LIBS} -lgen"])                      AC_CHECK_LIB(gen, getspnam, AC_DEFINE(HAVE_GETSPNAM) [SUDO_LIBS="${SUDO_LIBS} -lgen"; LIBS="${LIBS} -lgen"])
                     CHECKSHADOW="false"                      CHECKSHADOW="false"
                 fi                  fi
                 test -n "$mansectsu" || mansectsu=1m  
                 test -n "$mansectform" || mansectform=4  
                 ;;  
     m88k-motorola-sysv*)  
                 # motorolla's cc (a variant of gcc) does -O but not -O2  
                 CFLAGS=`echo $CFLAGS | sed 's/-O2/-O/g'`  
                 test -n "$mansectsu" || mansectsu=1m                  test -n "$mansectsu" || mansectsu=1m
                 test -n "$mansectform" || mansectform=4                  test -n "$mansectform" || mansectform=4
                 ;;                  ;;

Legend:
Removed from v.1.6.4.1  
changed lines
  Added in v.1.7