[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.21 and 1.22

version 1.21, 2004/09/28 15:10:51 version 1.22, 2004/11/29 17:29:05
Line 1683 
Line 1683 
 dnl Function checks  dnl Function checks
 dnl  dnl
 AC_CHECK_FUNCS(strchr strrchr memchr memcpy memset sysconf tzset \  AC_CHECK_FUNCS(strchr strrchr memchr memcpy memset sysconf tzset \
                strftime setrlimit initgroups fstat)                 strftime setrlimit initgroups fstat gettimeofday)
 AC_CHECK_FUNCS(seteuid, , [AC_DEFINE(NO_SAVED_IDS)])  AC_CHECK_FUNCS(seteuid, , [AC_DEFINE(NO_SAVED_IDS)])
 if test -z "$SKIP_SETRESUID"; then  if test -z "$SKIP_SETRESUID"; then
     AC_CHECK_FUNCS(setresuid, [SKIP_SETREUID=yes])      AC_CHECK_FUNCS(setresuid, [SKIP_SETREUID=yes])
Line 1709 
Line 1709 
 SUDO_FUNC_ISBLANK  SUDO_FUNC_ISBLANK
 AC_REPLACE_FUNCS(strerror strcasecmp sigaction strlcpy strlcat closefrom)  AC_REPLACE_FUNCS(strerror strcasecmp sigaction strlcpy strlcat closefrom)
 AC_CHECK_FUNCS(snprintf vsnprintf asprintf vasprintf, , [NEED_SNPRINTF=1])  AC_CHECK_FUNCS(snprintf vsnprintf asprintf vasprintf, , [NEED_SNPRINTF=1])
 AC_CHECK_FUNCS(getttimeofday, [AC_CHECK_MEMBER([struct stat.st_mtim], AC_DEFINE(HAVE_ST_MTIM), [AC_CHECK_MEMBER([struct stat.st_mtimespec], AC_DEFINE([HAVE_ST_MTIMESPEC]))])])  if test X"$ac_cv_type_struct_timespec" != X"no"; then
       AC_CHECK_MEMBER([struct stat.st_mtim], AC_DEFINE(HAVE_ST_MTIM), [AC_CHECK_MEMBER([struct stat.st_mtimespec], AC_DEFINE([HAVE_ST_MTIMESPEC]))])
       AC_MSG_CHECKING([for two-parameter timespecsub])
       AC_TRY_COMPILE([#include <sys/types.h>
   #include <sys/time.h>], [struct timespec ts1, ts2;
   ts1.tv_sec = 1; ts1.tv_nsec = 0; ts2.tv_sec = 0; ts2.tv_nsec = 0;
   #ifndef timespecsub
   #error missing timespecsub
   #endif
   timespecsub(&ts1, &ts2);],
           [AC_DEFINE(HAVE_TIMESPECSUB2)
           AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no)])
   fi
 dnl  dnl
 dnl Check for the dirfd function/macro.  If not found, look for dd_fd in DIR.  dnl Check for the dirfd function/macro.  If not found, look for dd_fd in DIR.
 dnl  dnl
Line 2257 
Line 2269 
 AH_TEMPLATE(HAVE_ST_MTIMESPEC, [Define to 1 if your struct stat has an st_mtimespec member])  AH_TEMPLATE(HAVE_ST_MTIMESPEC, [Define to 1 if your struct stat has an st_mtimespec member])
 AH_TEMPLATE(HAVE_TERMIOS_H, [Define to 1 if you have the <termios.h> header file and the `tcgetattr' function.])  AH_TEMPLATE(HAVE_TERMIOS_H, [Define to 1 if you have the <termios.h> header file and the `tcgetattr' function.])
 AH_TEMPLATE(HAVE_TIMESPEC, [Define to 1 if you have struct timespec in sys/time.h])  AH_TEMPLATE(HAVE_TIMESPEC, [Define to 1 if you have struct timespec in sys/time.h])
   AH_TEMPLATE(HAVE_TIMESPECSUB2, [Define to 1 if you have a timespecsub macro or function that takes two arguments (not three)])
 AH_TEMPLATE(HAVE___PROGNAME, [Define to 1 if your crt0.o defines the __progname symbol for you.])  AH_TEMPLATE(HAVE___PROGNAME, [Define to 1 if your crt0.o defines the __progname symbol for you.])
 AH_TEMPLATE(HOST_IN_LOG, [Define to 1 if you want the hostname to be entered into the log file.])  AH_TEMPLATE(HOST_IN_LOG, [Define to 1 if you want the hostname to be entered into the log file.])
 AH_TEMPLATE(IGNORE_DOT_PATH, [Define to 1 if you want to ignore '.' and empty PATH elements])  AH_TEMPLATE(IGNORE_DOT_PATH, [Define to 1 if you want to ignore '.' and empty PATH elements])

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22