[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.5 and 1.6

version 1.5, 2000/03/27 03:44:38 version 1.6, 2000/11/21 17:58:44
Line 320 
Line 320 
                 ;;                  ;;
 esac])  esac])
   
 AC_ARG_WITH(logincap, [  --with-logincap         enable login class support],  AC_ARG_WITH(logincap, [  --with-logincap         enable BSD login class support],
 [case $with_logincap in  [case $with_logincap in
     yes)        AC_DEFINE(HAVE_LOGINCAP)      yes|no)     ;;
                 AC_MSG_CHECKING(whether to try BSD login capabilities database)      *)          AC_MSG_ERROR(["--with-logincap does not take an argument."])
                 AC_MSG_RESULT(yes)  
                 ;;                  ;;
   esac])
   
   AC_ARG_WITH(bsdauth, [  --with-bsdauth          enable BSD authentication support],
   [case $with_bsdauth in
       yes)        with_logincap=yes
                   ;;
     no)         ;;      no)         ;;
     *)          AC_MSG_ERROR(["--with-logincap does not take an argument."])      *)          AC_MSG_ERROR(["--with-bsdauth does not take an argument."])
                 ;;                  ;;
 esac])  esac])
   
Line 1317 
Line 1322 
                 fi                  fi
                 ;;                  ;;
     *-*-freebsd*)      *-*-freebsd*)
                   if test "$with_logincap" = "yes"; then
                       SUDO_LIBS="${SUDO_LIBS} -lutil"
                   fi
                 if test "$with_skey" = "yes"; then                  if test "$with_skey" = "yes"; then
                      SUDO_LIBS="${SUDO_LIBS} -lmd"                       SUDO_LIBS="${SUDO_LIBS} -lmd"
                 fi                  fi
Line 1378 
Line 1386 
     AC_CHECK_HEADERS(termio.h)      AC_CHECK_HEADERS(termio.h)
     AC_CHECK_HEADERS(termios.h, AC_CHECK_FUNCS(tcgetattr))      AC_CHECK_HEADERS(termios.h, AC_CHECK_FUNCS(tcgetattr))
 fi  fi
   if test "$with_logincap" = "yes"; then
       AC_CHECK_HEADERS(login_cap.h)
   fi
   if test "$with_bsdauth" = "yes"; then
       AC_CHECK_HEADER(bsd_auth.h, AC_DEFINE(HAVE_BSD_AUTH_H) [with_passwd=no; AUTH_OBJS=bsdauth.o])
   fi
   
 dnl  dnl
 dnl typedef checks  dnl typedef checks
 dnl  dnl
Line 1580 
Line 1595 
 if test "$with_DCE" = "yes"; then  if test "$with_DCE" = "yes"; then
     DCE_OBJS="${DCE_OBJS} dce_pwent.o"      DCE_OBJS="${DCE_OBJS} dce_pwent.o"
     SUDO_LIBS="${SUDO_LIBS} -ldce"      SUDO_LIBS="${SUDO_LIBS} -ldce"
 fi  
   
 dnl  
 dnl extra login capabilities libs and includes  
 dnl  
 if test "$with_logincap" = "yes"; then  
     SUDO_LIBS="${SUDO_LIBS} -lutil"  
     if test -f /usr/include/login_cap.h -a -f /usr/include/sys/types.h -a -f /usr/lib/libutil.a; then  
         :  
     else  
         echo 'Unable to locate libutil.a and/or login_cap.h, you will have to edit the Makefile and add -L/path/to/libutil to SUDO_LDFLAGS and/or -I/path/to/login_cap.h to CPPFLAGS'  
     fi  
 fi  fi
   
 dnl  dnl

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6