Diff for /embedaddon/sudo/configure between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2012/05/29 12:26:49 version 1.1.1.3, 2012/10/09 09:29:52
Line 1 Line 1
 #! /bin/sh  #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68 for sudo 1.8.5p1.# Generated by GNU Autoconf 2.68 for sudo 1.8.6p3.
 #  #
 # Report bugs to <http://www.sudo.ws/bugs/>.  # Report bugs to <http://www.sudo.ws/bugs/>.
 #  #
Line 570  MAKEFLAGS= Line 570  MAKEFLAGS=
 # Identity of this package.  # Identity of this package.
 PACKAGE_NAME='sudo'  PACKAGE_NAME='sudo'
 PACKAGE_TARNAME='sudo'  PACKAGE_TARNAME='sudo'
PACKAGE_VERSION='1.8.5p1'PACKAGE_VERSION='1.8.6p3'
PACKAGE_STRING='sudo 1.8.5p1'PACKAGE_STRING='sudo 1.8.6p3'
 PACKAGE_BUGREPORT='http://www.sudo.ws/bugs/'  PACKAGE_BUGREPORT='http://www.sudo.ws/bugs/'
 PACKAGE_URL=''  PACKAGE_URL=''
   
Line 612  ac_includes_default="\ Line 612  ac_includes_default="\
 # include <unistd.h>  # include <unistd.h>
 #endif"  #endif"
   
   ac_c_werror_flag=
 ac_subst_vars='LTLIBOBJS  ac_subst_vars='LTLIBOBJS
 KRB5CONFIG  KRB5CONFIG
 LIBOBJS  LIBOBJS
Line 619  FLEX Line 620  FLEX
 YFLAGS  YFLAGS
 YACC  YACC
 NROFFPROG  NROFFPROG
   MANDOCPROG
 TRPROG  TRPROG
 UNAMEPROG  UNAMEPROG
 OTOOL64  OTOOL64
Line 660  editor Line 662  editor
 secure_path  secure_path
 netsvc_conf  netsvc_conf
 nsswitch_conf  nsswitch_conf
   sssd_lib
 ldap_secret  ldap_secret
 ldap_conf  ldap_conf
 path_info  path_info
Line 691  password_timeout Line 694  password_timeout
 timeout  timeout
 timedir  timedir
 iolog_dir  iolog_dir
   NO_VIZ
   PIE_CFLAGS
   PIE_LDFLAGS
   CROSS_COMPILING
 COMPAT_TEST_PROGS  COMPAT_TEST_PROGS
 SUDO_NLS  SUDO_NLS
 LIBINTL  LIBINTL
Line 717  mansectform Line 724  mansectform
 mansectsu  mansectsu
 devdir  devdir
 SEMAN  SEMAN
   PSMAN
 LCMAN  LCMAN
 BAMAN  BAMAN
 DEVEL  DEVEL
 SUDOERS_GID  SUDOERS_GID
 SUDOERS_UID  SUDOERS_UID
 SUDOERS_MODE  SUDOERS_MODE
MAN_POSTINSTALLSHLIB_MODE
 MANCOMPRESSEXT
 MANCOMPRESS
 MANDIRTYPE
 MANTYPE  MANTYPE
 AUTH_OBJS  AUTH_OBJS
 OSDEFS  OSDEFS
Line 736  SUDO_LIBS Line 747  SUDO_LIBS
 SUDO_OBJS  SUDO_OBJS
 SUDOERS_OBJS  SUDOERS_OBJS
 COMMON_OBJS  COMMON_OBJS
LTLDFLAGSLT_LDEXPORTS
 LT_LDDEP
 LT_LDOPT
 LT_LDMAP
 LT_LDFLAGS
 SUDOERS_LDFLAGS  SUDOERS_LDFLAGS
 LDFLAGS  LDFLAGS
 CPPFLAGS  CPPFLAGS
Line 793  with_rpath Line 808  with_rpath
 with_blibpath  with_blibpath
 with_bsm_audit  with_bsm_audit
 with_linux_audit  with_linux_audit
   with_sssd
   with_sssd_lib
 with_incpath  with_incpath
 with_libpath  with_libpath
 with_libraries  with_libraries
Line 860  with_interfaces Line 877  with_interfaces
 with_stow  with_stow
 with_askpass  with_askpass
 with_plugindir  with_plugindir
   with_man
   with_mdoc
 enable_authentication  enable_authentication
 enable_root_mailer  enable_root_mailer
 enable_setreuid  enable_setreuid
Line 875  enable_zlib Line 894  enable_zlib
 enable_env_reset  enable_env_reset
 enable_warnings  enable_warnings
 enable_werror  enable_werror
   enable_hardening
   enable_pie
 enable_admin_flag  enable_admin_flag
 enable_nls  enable_nls
 with_selinux  with_selinux
Line 1447  if test "$ac_init_help" = "long"; then Line 1468  if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.    # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.    # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF    cat <<_ACEOF
\`configure' configures sudo 1.8.5p1 to adapt to many kinds of systems.\`configure' configures sudo 1.8.6p3 to adapt to many kinds of systems.
   
 Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
   
Line 1512  fi Line 1533  fi
   
 if test -n "$ac_init_help"; then  if test -n "$ac_init_help"; then
   case $ac_init_help in    case $ac_init_help in
     short | recursive ) echo "Configuration of sudo 1.8.5p1:";;     short | recursive ) echo "Configuration of sudo 1.8.6p3:";;
    esac     esac
   cat <<\_ACEOF    cat <<\_ACEOF
   
Line 1537  Optional Features: Line 1558  Optional Features:
   --enable-env-reset      Whether to enable environment resetting by default.    --enable-env-reset      Whether to enable environment resetting by default.
   --enable-warnings       Whether to enable compiler warnings    --enable-warnings       Whether to enable compiler warnings
   --enable-werror         Whether to enable the -Werror compiler option    --enable-werror         Whether to enable the -Werror compiler option
     --disable-hardening     Do not use compiler/linker exploit mitigation
                             options
     --disable-pie           Do not build position independent executables, even
                             if the compiler/linker supports them
   --enable-admin-flag     Whether to create a Ubuntu-style admin flag file    --enable-admin-flag     Whether to create a Ubuntu-style admin flag file
   --disable-nls           Disable natural language support using gettext    --disable-nls           Disable natural language support using gettext
   --enable-gss-krb5-ccache-name    --enable-gss-krb5-ccache-name
Line 1563  Optional Packages: Line 1588  Optional Packages:
   --with-blibpath=PATH    pass -blibpath flag to ld for additional lib paths    --with-blibpath=PATH    pass -blibpath flag to ld for additional lib paths
   --with-bsm-audit        enable BSM audit support    --with-bsm-audit        enable BSM audit support
   --with-linux-audit      enable Linux audit support    --with-linux-audit      enable Linux audit support
     --with-sssd             enable SSSD support
     --with-sssd-lib         path to the SSSD library
   --with-incpath          additional places to look for include files    --with-incpath          additional places to look for include files
   --with-libpath          additional places to look for libraries    --with-libpath          additional places to look for libraries
   --with-libraries        additional libraries to link with    --with-libraries        additional libraries to link with
Line 1635  Optional Packages: Line 1662  Optional Packages:
                           offensive ones                            offensive ones
   --with-secure-path      override the user's path with a built-in one    --with-secure-path      override the user's path with a built-in one
   --without-interfaces    don't try to read the ip addr of ether interfaces    --without-interfaces    don't try to read the ip addr of ether interfaces
  --with-stow             properly handle GNU stow packaging  --with-stow             deprecated
   --with-askpass=PATH     Fully qualified pathname of askpass helper    --with-askpass=PATH     Fully qualified pathname of askpass helper
   --with-plugindir        set directory to load plugins from    --with-plugindir        set directory to load plugins from
     --with-man              manual pages use man macros
     --with-mdoc             manual pages use mdoc macros
   --with-selinux          enable SELinux support    --with-selinux          enable SELinux support
   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use    --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
                           both]                            both]
Line 1730  fi Line 1759  fi
 test -n "$ac_init_help" && exit $ac_status  test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then  if $ac_init_version; then
   cat <<\_ACEOF    cat <<\_ACEOF
sudo configure 1.8.5p1sudo configure 1.8.6p3
 generated by GNU Autoconf 2.68  generated by GNU Autoconf 2.68
   
 Copyright (C) 2010 Free Software Foundation, Inc.  Copyright (C) 2010 Free Software Foundation, Inc.
Line 2434  cat >config.log <<_ACEOF Line 2463  cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
   
It was created by sudo $as_me 1.8.5p1, which wasIt was created by sudo $as_me 1.8.6p3, which was
 generated by GNU Autoconf 2.68.  Invocation command line was  generated by GNU Autoconf 2.68.  Invocation command line was
   
   $ $0 $@    $ $0 $@
Line 2874  $as_echo "$as_me: Configuring Sudo version $PACKAGE_VE Line 2903  $as_echo "$as_me: Configuring Sudo version $PACKAGE_VE
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
 #  #
 # Begin initial values for man page substitution  # Begin initial values for man page substitution
 #  #
Line 2919  secure_path="not set" Line 2961  secure_path="not set"
 INSTALL_NOEXEC=  INSTALL_NOEXEC=
 devdir='$(srcdir)'  devdir='$(srcdir)'
 PROGS="sudo"  PROGS="sudo"
: ${MANTYPE='man'}: ${MANDIRTYPE='man'}
 : ${mansrcdir='.'}  : ${mansrcdir='.'}
   : ${SHLIB_MODE='0644'}
 : ${SUDOERS_MODE='0440'}  : ${SUDOERS_MODE='0440'}
 : ${SUDOERS_UID='0'}  : ${SUDOERS_UID='0'}
 : ${SUDOERS_GID='0'}  : ${SUDOERS_GID='0'}
Line 2928  DEVEL= Line 2971  DEVEL=
 LDAP="#"  LDAP="#"
 BAMAN=0  BAMAN=0
 LCMAN=0  LCMAN=0
   PSMAN=0
 SEMAN=0  SEMAN=0
 LIBINTL=  LIBINTL=
 ZLIB=  ZLIB=
Line 2938  AUTH_EXCL= Line 2982  AUTH_EXCL=
 AUTH_EXCL_DEF=  AUTH_EXCL_DEF=
 AUTH_DEF=passwd  AUTH_DEF=passwd
 SUDO_NLS=disabled  SUDO_NLS=disabled
   LT_LDEXPORTS="-export-symbols \$(shlib_exp)"
   LT_LDDEP="\$(shlib_exp)"
   NO_VIZ=
   
 CHECKSHADOW=true  CHECKSHADOW=true
 shadow_defs=  shadow_defs=
Line 3875  fi Line 3922  fi
   
   
   
   # Check whether --with-sssd was given.
   if test "${with_sssd+set}" = set; then :
     withval=$with_sssd; case $with_sssd in
       yes)        SUDOERS_OBJS="${SUDOERS_OBJS} sssd.lo"
                   $as_echo "#define HAVE_SSSD 1" >>confdefs.h
   
                   ;;
       no)         ;;
       *)          as_fn_error $? "\"--with-sssd does not take an argument.\"" "$LINENO" 5
                   ;;
   esac
   fi
   
   
   
   # Check whether --with-sssd-lib was given.
   if test "${with_sssd_lib+set}" = set; then :
     withval=$with_sssd_lib;
   fi
   
   sssd_lib="\"LIBDIR\""
   test -n "$with_sssd_lib" && sssd_lib="$with_sssd_lib"
   cat >>confdefs.h <<EOF
   #define _PATH_SSSD_LIB "$sssd_lib"
   EOF
   
   
   
 # Check whether --with-incpath was given.  # Check whether --with-incpath was given.
 if test "${with_incpath+set}" = set; then :  if test "${with_incpath+set}" = set; then :
   withval=$with_incpath; case $with_incpath in    withval=$with_incpath; case $with_incpath in
Line 5131  $as_echo "yes" >&6; } Line 5206  $as_echo "yes" >&6; }
 fi  fi
   
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stow should be used" >&5  
 $as_echo_n "checking whether stow should be used... " >&6; }  
   
 # Check whether --with-stow was given.  # Check whether --with-stow was given.
 if test "${with_stow+set}" = set; then :  if test "${with_stow+set}" = set; then :
   withval=$with_stow; case $with_stow in    withval=$with_stow; case $with_stow in
    yes)        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5    *)          { $as_echo "$as_me:${as_lineno-$LINENO}: --with-stow option deprecated, now is defalt behavior" >&5
$as_echo "yes" >&6; }                 ;;
                $as_echo "#define USE_STOW 1" >>confdefs.h 
 
                 ;;                  ;;
     no)         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5  
 $as_echo "no" >&6; }  
                 ;;  
     *)          as_fn_error $? "\"--with-stow does not take an argument.\"" "$LINENO" 5  
                 ;;  
 esac  esac
 else  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5  
 $as_echo "no" >&6; }  
 fi  fi
   
   
Line 5189  fi Line 5252  fi
   
   
   
   # Check whether --with-man was given.
   if test "${with_man+set}" = set; then :
     withval=$with_man; case $with_man in
       yes)        MANTYPE=man
                   ;;
       no)         as_fn_error $? "\"--without-man not supported.\"" "$LINENO" 5
                   ;;
       *)          as_fn_error $? "\"ignoring unknown argument to --with-man: $with_man.\"" "$LINENO" 5
                   ;;
   esac
   fi
   
   
   
   # Check whether --with-mdoc was given.
   if test "${with_mdoc+set}" = set; then :
     withval=$with_mdoc; case $with_mdoc in
       yes)        MANTYPE=mdoc
                   ;;
       no)         as_fn_error $? "\"--without-mdoc not supported.\"" "$LINENO" 5
                   ;;
       *)          as_fn_error $? "\"ignoring unknown argument to --with-mdoc: $with_mdoc.\"" "$LINENO" 5
                   ;;
   esac
   fi
   
   
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to do user authentication by default" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to do user authentication by default" >&5
 $as_echo_n "checking whether to do user authentication by default... " >&6; }  $as_echo_n "checking whether to do user authentication by default... " >&6; }
 # Check whether --enable-authentication was given.  # Check whether --enable-authentication was given.
Line 5506  $as_echo "$as_me: WARNING: Ignoring unknown argument t Line 5597  $as_echo "$as_me: WARNING: Ignoring unknown argument t
 fi  fi
   
   
   # Check whether --enable-hardening was given.
   if test "${enable_hardening+set}" = set; then :
     enableval=$enable_hardening;
   else
     enable_hardening=yes
   fi
   
   
   # Check whether --enable-pie was given.
   if test "${enable_pie+set}" = set; then :
     enableval=$enable_pie;
   else
     enable_pie=yes
   fi
   
   
 # Check whether --enable-admin-flag was given.  # Check whether --enable-admin-flag was given.
 if test "${enable_admin_flag+set}" = set; then :  if test "${enable_admin_flag+set}" = set; then :
   enableval=$enable_admin_flag;  case "$enableval" in    enableval=$enable_admin_flag;  case "$enableval" in
Line 13538  fi Line 13645  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_noexec" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_noexec" >&5
 $as_echo "$with_noexec" >&6; }  $as_echo "$with_noexec" >&6; }
 NOEXECFILE="sudo_noexec$_shrext"  NOEXECFILE="sudo_noexec$_shrext"
NOEXECDIR="`echo $with_noexec|sed 's:^\(.*\)/[^/]*:\1:'`"NOEXECDIR="`echo $with_noexec|sed -e 's:^${\([^}]*\)}:$(\1):' -e 's:^\(.*\)/[^/]*:\1:'`"
   
 # Extract the first word of "uname", so it can be a program name with args.  # Extract the first word of "uname", so it can be a program name with args.
 set dummy uname; ac_word=$2  set dummy uname; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_UNAMEPROG+:} false; then :if ${ac_cv_path_UNAMEPROG+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
  if test -n "$UNAMEPROG"; then  case $UNAMEPROG in
  ac_cv_prog_UNAMEPROG="$UNAMEPROG" # Let the user override the test.  [\\/]* | ?:[\\/]*)
else  ac_cv_path_UNAMEPROG="$UNAMEPROG" # Let the user override the test with a path.
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  ;;
   *)
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 for as_dir in $PATH  for as_dir in $PATH
 do  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_UNAMEPROG="uname"    ac_cv_path_UNAMEPROG="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
   fi    fi
Line 13565  done Line 13674  done
   done    done
 IFS=$as_save_IFS  IFS=$as_save_IFS
   
     test -z "$ac_cv_path_UNAMEPROG" && ac_cv_path_UNAMEPROG="uname"
     ;;
   esac
 fi  fi
fiUNAMEPROG=$ac_cv_path_UNAMEPROG
UNAMEPROG=$ac_cv_prog_UNAMEPROG 
 if test -n "$UNAMEPROG"; then  if test -n "$UNAMEPROG"; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNAMEPROG" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNAMEPROG" >&5
 $as_echo "$UNAMEPROG" >&6; }  $as_echo "$UNAMEPROG" >&6; }
Line 13581  fi Line 13692  fi
 set dummy tr; ac_word=$2  set dummy tr; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_TRPROG+:} false; then :if ${ac_cv_path_TRPROG+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
  if test -n "$TRPROG"; then  case $TRPROG in
  ac_cv_prog_TRPROG="$TRPROG" # Let the user override the test.  [\\/]* | ?:[\\/]*)
else  ac_cv_path_TRPROG="$TRPROG" # Let the user override the test with a path.
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  ;;
   *)
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 for as_dir in $PATH  for as_dir in $PATH
 do  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_TRPROG="tr"    ac_cv_path_TRPROG="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
   fi    fi
Line 13602  done Line 13715  done
   done    done
 IFS=$as_save_IFS  IFS=$as_save_IFS
   
     test -z "$ac_cv_path_TRPROG" && ac_cv_path_TRPROG="tr"
     ;;
   esac
 fi  fi
fiTRPROG=$ac_cv_path_TRPROG
TRPROG=$ac_cv_prog_TRPROG 
 if test -n "$TRPROG"; then  if test -n "$TRPROG"; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TRPROG" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TRPROG" >&5
 $as_echo "$TRPROG" >&6; }  $as_echo "$TRPROG" >&6; }
Line 13614  $as_echo "no" >&6; } Line 13729  $as_echo "no" >&6; }
 fi  fi
   
   
for ac_prog in nroff mandoc# Extract the first word of "mandoc", so it can be a program name with args.
doset dummy mandoc; ac_word=$2
  # Extract the first word of "$ac_prog", so it can be a program name with args. 
set dummy $ac_prog; ac_word=$2 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_NROFFPROG+:} false; then :if ${ac_cv_path_MANDOCPROG+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
  if test -n "$NROFFPROG"; then  case $MANDOCPROG in
  ac_cv_prog_NROFFPROG="$NROFFPROG" # Let the user override the test.  [\\/]* | ?:[\\/]*)
else  ac_cv_path_MANDOCPROG="$MANDOCPROG" # Let the user override the test with a path.
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  ;;
   *)
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 for as_dir in $PATH  for as_dir in $PATH
 do  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_NROFFPROG="$ac_prog"    ac_cv_path_MANDOCPROG="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
   fi    fi
Line 13641  done Line 13756  done
   done    done
 IFS=$as_save_IFS  IFS=$as_save_IFS
   
     test -z "$ac_cv_path_MANDOCPROG" && ac_cv_path_MANDOCPROG="mandoc"
     ;;
   esac
 fi  fi
   MANDOCPROG=$ac_cv_path_MANDOCPROG
   if test -n "$MANDOCPROG"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANDOCPROG" >&5
   $as_echo "$MANDOCPROG" >&6; }
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   $as_echo "no" >&6; }
 fi  fi
NROFFPROG=$ac_cv_prog_NROFFPROG
 
 if test "$MANDOCPROG" != "mandoc"; then
     : ${MANTYPE='mdoc'}
 else
     # Extract the first word of "nroff", so it can be a program name with args.
 set dummy nroff; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
 if ${ac_cv_path_NROFFPROG+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $NROFFPROG in
   [\\/]* | ?:[\\/]*)
   ac_cv_path_NROFFPROG="$NROFFPROG" # Let the user override the test with a path.
   ;;
   *)
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 for as_dir in $PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_path_NROFFPROG="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
   fi
 done
   done
 IFS=$as_save_IFS
 
   ;;
 esac
 fi
 NROFFPROG=$ac_cv_path_NROFFPROG
 if test -n "$NROFFPROG"; then  if test -n "$NROFFPROG"; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NROFFPROG" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NROFFPROG" >&5
 $as_echo "$NROFFPROG" >&6; }  $as_echo "$NROFFPROG" >&6; }
Line 13653  $as_echo "no" >&6; } Line 13813  $as_echo "no" >&6; }
 fi  fi
   
   
  test -n "$NROFFPROG" && break    if test -n "$NROFFPROG"; then
done        test -n "$MANTYPE" && sudo_cv_var_mantype="$MANTYPE"
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking which macro set to use for manual pages" >&5
if test -n "$NROFFPROG"; then$as_echo_n "checking which macro set to use for manual pages... " >&6; }
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $NROFFPROG supports the -c option" >&5if ${sudo_cv_var_mantype+:} false; then :
$as_echo_n "checking whether $NROFFPROG supports the -c option... " >&6; } 
if ${sudo_cv_var_nroff_opt_c+:} false; then : 
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if $NROFFPROG -c </dev/null >/dev/null 2>&1; then  
             sudo_cv_var_nroff_opt_c=yes  
         else  
             sudo_cv_var_nroff_opt_c=no  
         fi  
   
                   sudo_cv_var_mantype="man"
                   echo ".Sh NAME" > conftest
                   echo ".Nm sudo" >> conftest
                   echo ".Nd sudo" >> conftest
                   echo ".Sh DESCRIPTION" >> conftest
                   echo "sudo" >> conftest
                   if $NROFFPROG -mdoc conftest >/dev/null 2>&1; then
                       sudo_cv_var_mantype="mdoc"
                   fi
                   rm -f conftest
   
   
 fi  fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_var_nroff_opt_c" >&5{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_var_mantype" >&5
$as_echo "$sudo_cv_var_nroff_opt_c" >&6; }$as_echo "$sudo_cv_var_mantype" >&6; }
    if test "$sudo_cv_var_nroff_opt_c" = "yes"; then        MANTYPE="$sudo_cv_var_mantype"
        NROFFPROG="$NROFFPROG -c"    else
         MANTYPE=cat
         MANDIRTYPE=cat
         mansrcdir='$(srcdir)'
     fi      fi
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $NROFFPROG supports the -Tascii option" >&5  
 $as_echo_n "checking whether $NROFFPROG supports the -Tascii option... " >&6; }  
 if ${sudo_cv_var_nroff_opt_Tascii+:} false; then :  
   $as_echo_n "(cached) " >&6  
 else  
   if $NROFFPROG -Tascii </dev/null >/dev/null 2>&1; then  
             sudo_cv_var_nroff_opt_Tascii=yes  
         else  
             sudo_cv_var_nroff_opt_Tascii=no  
         fi  
     if test "$sudo_cv_var_nroff_opt_Tascii" = "yes"; then  
         NROFFPROG="$NROFFPROG -Tascii"  
     fi  
   
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_var_nroff_opt_Tascii" >&5  
 $as_echo "$sudo_cv_var_nroff_opt_Tascii" >&6; }  
 else  
     MANTYPE="cat"  
     mansrcdir='$(srcdir)'  
 fi  
   
 if test -n "$sudo_cv_prev_host"; then  if test -n "$sudo_cv_prev_host"; then
     if test "$sudo_cv_prev_host" != "$host"; then      if test "$sudo_cv_prev_host" != "$host"; then
Line 13767  if test "x$ac_cv_func_priv_set" = xyes; then : Line 13915  if test "x$ac_cv_func_priv_set" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_PRIV_SET 1  #define HAVE_PRIV_SET 1
 _ACEOF  _ACEOF
 PSMAN=1
 fi  fi
 done  done
   
Line 13888  done Line 14036  done
     *-*-hiuxmpp*)      *-*-hiuxmpp*)
                 : ${mansectsu='1m'}                  : ${mansectsu='1m'}
                 : ${mansectform='4'}                  : ${mansectform='4'}
   
                   # HP-UX shared libs must be executable
                   SHLIB_MODE=0755
                 ;;                  ;;
     *-*-hpux*)      *-*-hpux*)
                 # AFS support needs -lBSD                  # AFS support needs -lBSD
Line 13897  done Line 14048  done
                 : ${mansectsu='1m'}                  : ${mansectsu='1m'}
                 : ${mansectform='4'}                  : ${mansectform='4'}
   
                   # HP-UX shared libs must be executable
                   SHLIB_MODE=0755
   
                 # The HP bundled compiler cannot generate shared libs                  # The HP bundled compiler cannot generate shared libs
                 if test -z "$GCC"; then                  if test -z "$GCC"; then
                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP bundled C compiler" >&5                      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP bundled C compiler" >&5
Line 13997  $as_echo "$sudo_cv_var_daportable" >&6; } Line 14151  $as_echo "$sudo_cv_var_daportable" >&6; }
                 ;;                  ;;
     *-dec-osf*)      *-dec-osf*)
                 # ignore envariables wrt dynamic lib path                  # ignore envariables wrt dynamic lib path
                   # XXX - sudo LDFLAGS instead?
                 SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -Wl,-no_library_replacement"                  SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -Wl,-no_library_replacement"
   
                 : ${CHECKSIA='true'}                  : ${CHECKSIA='true'}
Line 14078  rm -f core conftest.err conftest.$ac_objext conftest.$ Line 14233  rm -f core conftest.err conftest.$ac_objext conftest.$
     *-*-irix*)      *-*-irix*)
                 OSDEFS="${OSDEFS} -D_BSD_TYPES"                  OSDEFS="${OSDEFS} -D_BSD_TYPES"
                 if test -z "$NROFFPROG"; then                  if test -z "$NROFFPROG"; then
                     MAN_POSTINSTALL='   /bin/rm -f $(mandirsu)/sudo.$(mansectsu).z $(mandirsu)/visudo.$(mansectsu).z $(mandirform)/sudoers.$(mansectform).z ; /usr/bin/pack $(mandirsu)/sudo.$(mansectsu) $(mandirsu)/visudo.$(mansectsu) $(mandirform)/sudoers.$(mansectform)'  
                     if test "$prefix" = "/usr/local" -a "$mandir" = '${datarootdir}/man'; then                      if test "$prefix" = "/usr/local" -a "$mandir" = '${datarootdir}/man'; then
                         if test -d /usr/share/catman/local; then                          if test -d /usr/share/catman/local; then
                             mandir="/usr/share/catman/local"                              mandir="/usr/share/catman/local"
Line 14086  rm -f core conftest.err conftest.$ac_objext conftest.$ Line 14240  rm -f core conftest.err conftest.$ac_objext conftest.$
                             mandir="/usr/catman/local"                              mandir="/usr/catman/local"
                         fi                          fi
                     fi                      fi
                       # Compress cat pages with pack
                       MANCOMPRESS='pack'
                       MANCOMPRESSEXT='.z'
                 else                  else
                     if test "$prefix" = "/usr/local" -a "$mandir" = '${datarootdir}/man'; then                      if test "$prefix" = "/usr/local" -a "$mandir" = '${datarootdir}/man'; then
                         if test -d "/usr/share/man/local"; then                          if test -d "/usr/share/man/local"; then
Line 14609  else Line 14766  else
   as_fn_error $? "Your C compiler doesn't support variadic macros, try building with gcc instead" "$LINENO" 5    as_fn_error $? "Your C compiler doesn't support variadic macros, try building with gcc instead" "$LINENO" 5
 fi  fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 if test X"$with_gnu_ld" != "yes" -a -n "$GCC"; then  
     _CFLAGS="$CFLAGS"  
     CFLAGS="$CFLAGS -static-libgcc"  
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -static-libgcc" >&5  
 $as_echo_n "checking whether $CC understands -static-libgcc... " >&6; }  
 if ${sudo_cv_var_gcc_static_libgcc+:} false; then :  
   $as_echo_n "(cached) " >&6  
 else  
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext  
 /* end confdefs.h.  */  
   
 int  
 main ()  
 {  
   
   ;  
   return 0;  
 }  
 _ACEOF  
 if ac_fn_c_try_link "$LINENO"; then :  
   sudo_cv_var_gcc_static_libgcc=yes  
 else  
   sudo_cv_var_gcc_static_libgcc=no  
   
 fi  
 rm -f core conftest.err conftest.$ac_objext \  
     conftest$ac_exeext conftest.$ac_ext  
   
   
 fi  
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_var_gcc_static_libgcc" >&5  
 $as_echo "$sudo_cv_var_gcc_static_libgcc" >&6; }  
     CFLAGS="$_CFLAGS"  
     if test "$sudo_cv_var_gcc_static_libgcc" = "yes"; then  
         LTLDFLAGS="$LTLDFLAGS -Wc,-static-libgcc"  
     fi  
 fi  
 for ac_prog in 'bison -y' byacc  for ac_prog in 'bison -y' byacc
 do  do
   # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
Line 16538  done Line 16659  done
 fi  fi
 done  done
   
O_CPPFLAGS="$CPPFLAGS"if test "$enable_hardening" != "no"; then
CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"    O_CPPFLAGS="$CPPFLAGS"
ac_fn_c_check_func "$LINENO" "__sprintf_chk" "ac_cv_func___sprintf_chk"    CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
     ac_fn_c_check_func "$LINENO" "__sprintf_chk" "ac_cv_func___sprintf_chk"
 if test "x$ac_cv_func___sprintf_chk" = xyes; then :  if test "x$ac_cv_func___sprintf_chk" = xyes; then :
   
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
   
 int  int
Line 16562  rm -f core conftest.err conftest.$ac_objext \ Line 16684  rm -f core conftest.err conftest.$ac_objext \
   
 fi  fi
   
CPPFLAGS="$O_CPPFLAGS"    CPPFLAGS="$O_CPPFLAGS"
 fi
   
 utmp_style=LEGACY  utmp_style=LEGACY
 for ac_func in getutxid getutid  for ac_func in getutxid getutid
Line 16590  _ACEOF Line 16713  _ACEOF
 fi  fi
 done  done
   
       for ac_func in fseeko
   do :
     ac_fn_c_check_func "$LINENO" "fseeko" "ac_cv_func_fseeko"
   if test "x$ac_cv_func_fseeko" = xyes; then :
     cat >>confdefs.h <<_ACEOF
   #define HAVE_FSEEKO 1
   _ACEOF
   
 fi  fi
   done
   
   fi
   
 for ac_func in sysctl  for ac_func in sysctl
 do :  do :
   ac_fn_c_check_func "$LINENO" "sysctl" "ac_cv_func_sysctl"    ac_fn_c_check_func "$LINENO" "sysctl" "ac_cv_func_sysctl"
Line 17927  fi Line 18061  fi
         eval gettext_result="\$$gettext_name"          eval gettext_result="\$$gettext_name"
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gettext_result" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gettext_result" >&5
 $as_echo "$gettext_result" >&6; }  $as_echo "$gettext_result" >&6; }
        test "$gettext_result" = "yes" && break        if test "$gettext_result" = "yes"; then
             for ac_func in ngettext
 do :
   ac_fn_c_check_func "$LINENO" "ngettext" "ac_cv_func_ngettext"
 if test "x$ac_cv_func_ngettext" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_NGETTEXT 1
 _ACEOF
 
 fi
 done
 
             break
         fi
     done      done
     LIBS="$OLIBS"      LIBS="$OLIBS"
   
Line 18173  fi Line 18320  fi
 done  done
   
   
   for ac_func in sig2str
   do :
     ac_fn_c_check_func "$LINENO" "sig2str" "ac_cv_func_sig2str"
   if test "x$ac_cv_func_sig2str" = xyes; then :
     cat >>confdefs.h <<_ACEOF
   #define HAVE_SIG2STR 1
   _ACEOF
   
   else
   
       case " $LIBOBJS " in
     *" sig2str.$ac_objext "* ) ;;
     *) LIBOBJS="$LIBOBJS sig2str.$ac_objext"
    ;;
   esac
   
       HAVE_SIGNAME="false"
       ac_fn_c_check_decl "$LINENO" "sys_signame" "ac_cv_have_decl_sys_signame" "
   $ac_includes_default
   #include <signal.h>
   
   "
   if test "x$ac_cv_have_decl_sys_signame" = xyes; then :
     ac_have_decl=1
   else
     ac_have_decl=0
   fi
   
   cat >>confdefs.h <<_ACEOF
   #define HAVE_DECL_SYS_SIGNAME $ac_have_decl
   _ACEOF
   if test $ac_have_decl = 1; then :
   
           HAVE_SIGNAME="true"
           break
   
   fi
   ac_fn_c_check_decl "$LINENO" "_sys_signame" "ac_cv_have_decl__sys_signame" "
   $ac_includes_default
   #include <signal.h>
   
   "
   if test "x$ac_cv_have_decl__sys_signame" = xyes; then :
     ac_have_decl=1
   else
     ac_have_decl=0
   fi
   
   cat >>confdefs.h <<_ACEOF
   #define HAVE_DECL__SYS_SIGNAME $ac_have_decl
   _ACEOF
   if test $ac_have_decl = 1; then :
   
           HAVE_SIGNAME="true"
           break
   
   fi
   ac_fn_c_check_decl "$LINENO" "__sys_signame" "ac_cv_have_decl___sys_signame" "
   $ac_includes_default
   #include <signal.h>
   
   "
   if test "x$ac_cv_have_decl___sys_signame" = xyes; then :
     ac_have_decl=1
   else
     ac_have_decl=0
   fi
   
   cat >>confdefs.h <<_ACEOF
   #define HAVE_DECL___SYS_SIGNAME $ac_have_decl
   _ACEOF
   if test $ac_have_decl = 1; then :
   
           HAVE_SIGNAME="true"
           break
   
   fi
   ac_fn_c_check_decl "$LINENO" "sys_sigabbrev" "ac_cv_have_decl_sys_sigabbrev" "
   $ac_includes_default
   #include <signal.h>
   
   "
   if test "x$ac_cv_have_decl_sys_sigabbrev" = xyes; then :
     ac_have_decl=1
   else
     ac_have_decl=0
   fi
   
   cat >>confdefs.h <<_ACEOF
   #define HAVE_DECL_SYS_SIGABBREV $ac_have_decl
   _ACEOF
   if test $ac_have_decl = 1; then :
   
           HAVE_SIGNAME="true"
           break
   
   fi
   
       if test "$HAVE_SIGNAME" != "true"; then
           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for undeclared sys_sigabbrev" >&5
   $as_echo_n "checking for undeclared sys_sigabbrev... " >&6; }
   if ${sudo_cv_var_sys_sigabbrev+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   extern char **sys_sigabbrev;
   int
   main ()
   {
   return sys_sigabbrev[1];
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_link "$LINENO"; then :
     sudo_cv_var_sys_sigabbrev=yes
   else
     sudo_cv_var_sys_sigabbrev=no
   
   fi
   rm -f core conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
   
   
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_var_sys_sigabbrev" >&5
   $as_echo "$sudo_cv_var_sys_sigabbrev" >&6; }
           if test "$sudo_cv_var_sys_sigabbrev" = yes; then
               $as_echo "#define HAVE_SYS_SIGABBREV 1" >>confdefs.h
   
           else
               case " $LIBOBJS " in
     *" signame.$ac_objext "* ) ;;
     *) LIBOBJS="$LIBOBJS signame.$ac_objext"
    ;;
   esac
   
           fi
       fi
   
   fi
   done
   
   
 if test ${with_netsvc-"no"} != "no"; then  if test ${with_netsvc-"no"} != "no"; then
     cat >>confdefs.h <<EOF      cat >>confdefs.h <<EOF
 #define _PATH_NETSVC_CONF "${with_netsvc-/etc/netsvc.conf}"  #define _PATH_NETSVC_CONF "${with_netsvc-/etc/netsvc.conf}"
Line 19668  fi Line 19960  fi
   
 done  done
   
    for ac_func in ldap_initialize ldap_start_tls_s ldapssl_init ldapssl_set_strength ldap_unbind_ext_s ldap_str2dn ldap_create ldap_sasl_bind_s ldap_ssl_client_init ldap_start_tls_s_np    for ac_func in ldap_initialize ldap_start_tls_s ldapssl_init ldapssl_set_strength ldap_unbind_ext_s ldap_str2dn ldap_create ldap_sasl_bind_s ldap_ssl_init ldap_ssl_client_init ldap_start_tls_s_np
 do :  do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"  ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
Line 19907  if test X"$LIBDL" != X""; then Line 20199  if test X"$LIBDL" != X""; then
     SUDOERS_LIBS="${SUDOERS_LIBS} $LIBDL"      SUDOERS_LIBS="${SUDOERS_LIBS} $LIBDL"
 fi  fi
   
# On HP-UX, you cannot dlopen() a shared object that uses pthreads# On HP-UX, you cannot dlopen() a shared object that uses pthreads unless
# unless the main program is linked against -lpthread.  Since we# the main program is linked against -lpthread.  We have no knowledge of
# have no knowledge what libraries a plugin may depend on, we always# what libraries a plugin may depend on (e.g. HP-UX LDAP which uses pthreads)
# link against -lpthread on HP-UX if it is available.# so always link against -lpthread on HP-UX if it is available.
 # This check should go after all other libraries tests.  # This check should go after all other libraries tests.
 case "$host" in  case "$host" in
     *-*-hpux*)      *-*-hpux*)
Line 20056  EOF Line 20348  EOF
 $as_echo "$iolog_dir" >&6; }  $as_echo "$iolog_dir" >&6; }
   
   
   
   ac_c_werror_flag=yes
   
   if test -n "$GCC" -a "$lt_cv_prog_gnu_ld" != "yes" -a -n "$GCC"; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -static-libgcc" >&5
   $as_echo_n "checking whether C compiler accepts -static-libgcc... " >&6; }
   if ${ax_cv_check_cflags___static_libgcc+:} false; then :
     $as_echo_n "(cached) " >&6
   else
   
     ax_check_save_flags=$CFLAGS
     CFLAGS="$CFLAGS  -static-libgcc"
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
     ax_cv_check_cflags___static_libgcc=yes
   else
     ax_cv_check_cflags___static_libgcc=no
   fi
   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     CFLAGS=$ax_check_save_flags
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___static_libgcc" >&5
   $as_echo "$ax_cv_check_cflags___static_libgcc" >&6; }
   if test x"$ax_cv_check_cflags___static_libgcc" = xyes; then :
     LT_LDFLAGS="$LT_LDFLAGS -Wc,-static-libgcc"
   else
     :
   fi
   
   fi
   
   as_CACHEVAR=`$as_echo "ax_cv_check_cflags__-fvisibility=hidden" | $as_tr_sh`
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fvisibility=hidden" >&5
   $as_echo_n "checking whether C compiler accepts -fvisibility=hidden... " >&6; }
   if eval \${$as_CACHEVAR+:} false; then :
     $as_echo_n "(cached) " >&6
   else
   
     ax_check_save_flags=$CFLAGS
     CFLAGS="$CFLAGS  -fvisibility=hidden"
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
     eval "$as_CACHEVAR=yes"
   else
     eval "$as_CACHEVAR=no"
   fi
   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     CFLAGS=$ax_check_save_flags
   fi
   eval ac_res=\$$as_CACHEVAR
                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   $as_echo "$ac_res" >&6; }
   if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
   
       $as_echo "#define HAVE_DSO_VISIBILITY 1" >>confdefs.h
   
       CFLAGS="${CFLAGS} -fvisibility=hidden"
       LT_LDEXPORTS=
       LT_LDDEP=
   
   else
   
       NO_VIZ="-DNO_VIZ"
       if test -z "$GCC"; then
           case "$host" in
               *-*-hpux*)
                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Bhidden_def" >&5
   $as_echo_n "checking whether C compiler accepts -Bhidden_def... " >&6; }
   if ${ax_cv_check_cflags___Bhidden_def+:} false; then :
     $as_echo_n "(cached) " >&6
   else
   
     ax_check_save_flags=$CFLAGS
     CFLAGS="$CFLAGS  -Bhidden_def"
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
     ax_cv_check_cflags___Bhidden_def=yes
   else
     ax_cv_check_cflags___Bhidden_def=no
   fi
   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     CFLAGS=$ax_check_save_flags
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Bhidden_def" >&5
   $as_echo "$ax_cv_check_cflags___Bhidden_def" >&6; }
   if test x"$ax_cv_check_cflags___Bhidden_def" = xyes; then :
   
                       $as_echo "#define HAVE_DSO_VISIBILITY 1" >>confdefs.h
   
                       CFLAGS="${CFLAGS} -Bhidden_def"
                       LT_LDEXPORTS=
                       LT_LDDEP=
   
   else
     :
   fi
   
                   ;;
               *-*-solaris2*)
                   as_CACHEVAR=`$as_echo "ax_cv_check_cflags__-xldscope=hidden" | $as_tr_sh`
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -xldscope=hidden" >&5
   $as_echo_n "checking whether C compiler accepts -xldscope=hidden... " >&6; }
   if eval \${$as_CACHEVAR+:} false; then :
     $as_echo_n "(cached) " >&6
   else
   
     ax_check_save_flags=$CFLAGS
     CFLAGS="$CFLAGS  -xldscope=hidden"
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
     eval "$as_CACHEVAR=yes"
   else
     eval "$as_CACHEVAR=no"
   fi
   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     CFLAGS=$ax_check_save_flags
   fi
   eval ac_res=\$$as_CACHEVAR
                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   $as_echo "$ac_res" >&6; }
   if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
   
                       $as_echo "#define HAVE_DSO_VISIBILITY 1" >>confdefs.h
   
                       CFLAGS="${CFLAGS} -xldscope=hidden"
                       LT_LDEXPORTS=
                       LT_LDDEP=
   
   else
     :
   fi
   
                   ;;
           esac
       fi
   
   fi
   
   
   if test -n "$LT_LDEXPORTS"; then
       if test "$lt_cv_prog_gnu_ld" = "yes"; then
           { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ld supports anonymous map files" >&5
   $as_echo_n "checking whether ld supports anonymous map files... " >&6; }
   if ${sudo_cv_var_gnu_ld_anon_map+:} false; then :
     $as_echo_n "(cached) " >&6
   else
   
                   cat > conftest.map <<-EOF
                   {
                       global: foo;
                       local:  *;
                   };
   EOF
                   _CFLAGS="$CFLAGS"
                   CFLAGS="$CFLAGS $lt_prog_compiler_pic"
                   _LDFLAGS="$LDFLAGS"
                   LDFLAGS="$LDFLAGS -fpic -shared -Wl,--version-script,./conftest.map"
                   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   int foo;
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_link "$LINENO"; then :
   
                       sudo_cv_var_gnu_ld_anon_map=yes
   
   fi
   rm -f core conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
                   CFLAGS="$_CFLAGS"
                   LDFLAGS="$_LDFLAGS"
   
   
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_var_gnu_ld_anon_map" >&5
   $as_echo "$sudo_cv_var_gnu_ld_anon_map" >&6; }
           if test "$sudo_cv_var_gnu_ld_anon_map" = "yes"; then
               LT_LDEXPORTS=; LT_LDDEP="\$(shlib_map)"; LT_LDMAP="-Wl,--version-script,\$(shlib_map)"
           fi
       else
           case "$host" in
               *-*-solaris2*)
                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ld supports anonymous map files" >&5
   $as_echo_n "checking whether ld supports anonymous map files... " >&6; }
   if ${sudo_cv_var_solaris_ld_anon_map+:} false; then :
     $as_echo_n "(cached) " >&6
   else
   
                           cat > conftest.map <<-EOF
                           {
                               global: foo;
                               local:  *;
                           };
   EOF
                           _CFLAGS="$CFLAGS"
                           CFLAGS="$CFLAGS $lt_prog_compiler_pic"
                           _LDFLAGS="$LDFLAGS"
                           LDFLAGS="$LDFLAGS -shared -Wl,-M,./conftest.map"
                           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   int foo;
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_link "$LINENO"; then :
   
                               sudo_cv_var_solaris_ld_anon_map=yes
   
   fi
   rm -f core conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
                           CFLAGS="$_CFLAGS"
                           LDFLAGS="$_LDFLAGS"
   
   
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_var_solaris_ld_anon_map" >&5
   $as_echo "$sudo_cv_var_solaris_ld_anon_map" >&6; }
                   if test "$sudo_cv_var_solaris_ld_anon_map" = "yes"; then
                       LT_LDEXPORTS=; LT_LDDEP="\$(shlib_map)"; LT_LDMAP="-Wl,-M,\$(shlib_map)"
                   fi
                   ;;
               *-*-hpux*)
                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ld supports controlling exported symbols" >&5
   $as_echo_n "checking whether ld supports controlling exported symbols... " >&6; }
   if ${sudo_cv_var_hpux_ld_symbol_export+:} false; then :
     $as_echo_n "(cached) " >&6
   else
   
                           echo "+e foo" > conftest.opt
                           _CFLAGS="$CFLAGS"
                           CFLAGS="$CFLAGS $lt_prog_compiler_pic"
                           _LDFLAGS="$LDFLAGS"
                           if test -n "$GCC"; then
                               LDFLAGS="$LDFLAGS -shared -Wl,-c,./conftest.opt"
                           else
                               LDFLAGS="$LDFLAGS -Wl,-b -Wl,-c,./conftest.opt"
                           fi
                           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   int foo;
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_link "$LINENO"; then :
   
                               sudo_cv_var_hpux_ld_symbol_export=yes
   
   fi
   rm -f core conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
                           CFLAGS="$_CFLAGS"
                           LDFLAGS="$_LDFLAGS"
   
   
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_var_hpux_ld_symbol_export" >&5
   $as_echo "$sudo_cv_var_hpux_ld_symbol_export" >&6; }
                   if test "$sudo_cv_var_hpux_ld_symbol_export" = "yes"; then
                       LT_LDEXPORTS=; LT_LDDEP="\$(shlib_opt)"; LT_LDOPT="-Wl,-c,\$(shlib_opt)"
                   fi
                   ;;
           esac
       fi
   fi
   
   if test "$enable_pie" != "no" -a -n "$GCC"; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fPIE" >&5
   $as_echo_n "checking whether C compiler accepts -fPIE... " >&6; }
   if ${ax_cv_check_cflags___fPIE+:} false; then :
     $as_echo_n "(cached) " >&6
   else
   
     ax_check_save_flags=$CFLAGS
     CFLAGS="$CFLAGS  -fPIE"
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
     ax_cv_check_cflags___fPIE=yes
   else
     ax_cv_check_cflags___fPIE=no
   fi
   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     CFLAGS=$ax_check_save_flags
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fPIE" >&5
   $as_echo "$ax_cv_check_cflags___fPIE" >&6; }
   if test x"$ax_cv_check_cflags___fPIE" = xyes; then :
   
           _CFLAGS="$CFLAGS"
           CFLAGS="$CFLAGS -fPIE"
           { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -pie" >&5
   $as_echo_n "checking whether the linker accepts -pie... " >&6; }
   if ${ax_cv_check_ldflags___pie+:} false; then :
     $as_echo_n "(cached) " >&6
   else
   
     ax_check_save_flags=$LDFLAGS
     LDFLAGS="$LDFLAGS  -pie"
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_link "$LINENO"; then :
     ax_cv_check_ldflags___pie=yes
   else
     ax_cv_check_ldflags___pie=no
   fi
   rm -f core conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
     LDFLAGS=$ax_check_save_flags
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___pie" >&5
   $as_echo "$ax_cv_check_ldflags___pie" >&6; }
   if test x"$ax_cv_check_ldflags___pie" = xyes; then :
   
               PIE_CFLAGS="-fPIE"
               PIE_LDFLAGS="-pie"
   
   else
     :
   fi
   
           CFLAGS="$_CFLAGS"
   
   else
     :
   fi
   
   fi
   
   if test "$enable_hardening" != "no"; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstack-protector" >&5
   $as_echo_n "checking whether C compiler accepts -fstack-protector... " >&6; }
   if ${ax_cv_check_cflags___fstack_protector+:} false; then :
     $as_echo_n "(cached) " >&6
   else
   
     ax_check_save_flags=$CFLAGS
     CFLAGS="$CFLAGS  -fstack-protector"
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
     ax_cv_check_cflags___fstack_protector=yes
   else
     ax_cv_check_cflags___fstack_protector=no
   fi
   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     CFLAGS=$ax_check_save_flags
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_protector" >&5
   $as_echo "$ax_cv_check_cflags___fstack_protector" >&6; }
   if test x"$ax_cv_check_cflags___fstack_protector" = xyes; then :
   
           { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -fstack-protector" >&5
   $as_echo_n "checking whether the linker accepts -fstack-protector... " >&6; }
   if ${ax_cv_check_ldflags___fstack_protector+:} false; then :
     $as_echo_n "(cached) " >&6
   else
   
     ax_check_save_flags=$LDFLAGS
     LDFLAGS="$LDFLAGS  -fstack-protector"
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_link "$LINENO"; then :
     ax_cv_check_ldflags___fstack_protector=yes
   else
     ax_cv_check_ldflags___fstack_protector=no
   fi
   rm -f core conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
     LDFLAGS=$ax_check_save_flags
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___fstack_protector" >&5
   $as_echo "$ax_cv_check_ldflags___fstack_protector" >&6; }
   if test x"$ax_cv_check_ldflags___fstack_protector" = xyes; then :
   
               CFLAGS="${CFLAGS} -fstack-protector"
               LT_LDFLAGS="${LT_LDFLAGS} -Wc,-fstack-protector"
   
   else
     :
   fi
   
   
   else
     :
   fi
   
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,relro" >&5
   $as_echo_n "checking whether the linker accepts -Wl,-z,relro... " >&6; }
   if ${ax_cv_check_ldflags___Wl__z_relro+:} false; then :
     $as_echo_n "(cached) " >&6
   else
   
     ax_check_save_flags=$LDFLAGS
     LDFLAGS="$LDFLAGS  -Wl,-z,relro"
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_link "$LINENO"; then :
     ax_cv_check_ldflags___Wl__z_relro=yes
   else
     ax_cv_check_ldflags___Wl__z_relro=no
   fi
   rm -f core conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
     LDFLAGS=$ax_check_save_flags
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_relro" >&5
   $as_echo "$ax_cv_check_ldflags___Wl__z_relro" >&6; }
   if test x"$ax_cv_check_ldflags___Wl__z_relro" = xyes; then :
     LDFLAGS="${LDFLAGS} -Wl,-z,relro"
   else
     :
   fi
   
   fi
   
 case "$with_passwd" in  case "$with_passwd" in
 yes|maybe)  yes|maybe)
     AUTH_OBJS="$AUTH_OBJS getspwuid.lo passwd.lo"      AUTH_OBJS="$AUTH_OBJS getspwuid.lo passwd.lo"
Line 20094  if test -n "$GCC"; then Line 20903  if test -n "$GCC"; then
     fi      fi
 fi  fi
   
   CROSS_COMPILING="$cross_compiling"
   
 test "$exec_prefix" = "NONE" && exec_prefix='$(prefix)'  test "$exec_prefix" = "NONE" && exec_prefix='$(prefix)'
   
 if test X"$with_noexec" != X"no" -o X"$with_selinux" != X"no"; then  if test X"$with_noexec" != X"no" -o X"$with_selinux" != X"no"; then
Line 20160  test "$libexecdir" = '${exec_prefix}/libexec' && libex Line 20971  test "$libexecdir" = '${exec_prefix}/libexec' && libex
 test "$includedir" = '${prefix}/include' && includedir='$(prefix)/include'  test "$includedir" = '${prefix}/include' && includedir='$(prefix)/include'
 test "$datarootdir" = '${prefix}/share' && datarootdir='$(prefix)/share'  test "$datarootdir" = '${prefix}/share' && datarootdir='$(prefix)/share'
 test "$docdir" = '${datarootdir}/doc/${PACKAGE_TARNAME}' && docdir='$(datarootdir)/doc/$(PACKAGE_TARNAME)'  test "$docdir" = '${datarootdir}/doc/${PACKAGE_TARNAME}' && docdir='$(datarootdir)/doc/$(PACKAGE_TARNAME)'
   test "$localedir" = '${datarootdir}/locale' && localedir='$(datarootdir)/locale'
   test "$localstatedir" = '${prefix}/var' && localstatedir='$(prefix)/var'
 test "$sysconfdir" = '${prefix}/etc' -a X"$with_stow" != X"yes" && sysconfdir='/etc'  test "$sysconfdir" = '${prefix}/etc' -a X"$with_stow" != X"yes" && sysconfdir='/etc'
   
 ac_config_files="$ac_config_files Makefile common/Makefile compat/Makefile doc/Makefile include/Makefile src/sudo_usage.h src/Makefile plugins/sample/Makefile plugins/sample_group/Makefile plugins/system_group/Makefile plugins/sudoers/Makefile plugins/sudoers/sudoers"  ac_config_files="$ac_config_files Makefile common/Makefile compat/Makefile doc/Makefile include/Makefile src/sudo_usage.h src/Makefile plugins/sample/Makefile plugins/sample_group/Makefile plugins/system_group/Makefile plugins/sudoers/Makefile plugins/sudoers/sudoers"
Line 20682  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 Line 21495  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their  # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.  # values after options handling.
 ac_log="  ac_log="
This file was extended by sudo $as_me 1.8.5p1, which wasThis file was extended by sudo $as_me 1.8.6p3, which was
 generated by GNU Autoconf 2.68.  Invocation command line was  generated by GNU Autoconf 2.68.  Invocation command line was
   
   CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
Line 20748  _ACEOF Line 21561  _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"  ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\  ac_cs_version="\\
sudo config.status 1.8.5p1sudo config.status 1.8.6p3
 configured by $0, generated by GNU Autoconf 2.68,  configured by $0, generated by GNU Autoconf 2.68,
   with options \\"\$ac_cs_config\\"    with options \\"\$ac_cs_config\\"
   
Line 22403  $as_echo "$as_me: You will need to customize sample.pa Line 23216  $as_echo "$as_me: You will need to customize sample.pa
             ;;              ;;
     esac      esac
 fi  fi
   
   
   
   
   
   

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>