From: Todd C. Miller Date: Wed, 21 Jan 2004 21:57:59 +0000 (+0000) Subject: Add check for fchown(2) X-Git-Tag: SUDO_1_6_8~222 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4a4d4c666bb67aaba8c35dcb1f672a7a77718a0;p=sudo Add check for fchown(2) --- diff --git a/config.h.in b/config.h.in index 6bb3eb295..47593511f 100644 --- a/config.h.in +++ b/config.h.in @@ -81,6 +81,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_ERR_H +/* Define to 1 if you have the `fchown' function. */ +#undef HAVE_FCHOWN + /* Define to 1 if you have the `flock' function. */ #undef HAVE_FLOCK diff --git a/configure b/configure index 65ab8ddf9..20e5b490d 100755 --- a/configure +++ b/configure @@ -24622,8 +24622,9 @@ esac + for ac_func in strchr strrchr memchr memcpy memset sysconf tzset \ - strftime setrlimit initgroups fstat + strftime setrlimit initgroups fstat fchown do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 diff --git a/configure.in b/configure.in index 75fce58b7..153a345cb 100644 --- a/configure.in +++ b/configure.in @@ -1664,7 +1664,7 @@ dnl dnl Function checks dnl AC_CHECK_FUNCS(strchr strrchr memchr memcpy memset sysconf tzset \ - strftime setrlimit initgroups fstat) + strftime setrlimit initgroups fstat fchown) if test -z "$SKIP_SETRESUID"; then AC_CHECK_FUNCS(setresuid, [SKIP_SETREUID=yes]) fi