]> granicus.if.org Git - sudo/commitdiff
Add check for fchown(2)
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 21 Jan 2004 21:57:59 +0000 (21:57 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 21 Jan 2004 21:57:59 +0000 (21:57 +0000)
config.h.in
configure
configure.in

index 6bb3eb295fc3294ee5d3462fb202b1b19cf1d8fe..47593511faa8b07c4c37bbd8d3ed2fc29039d2b8 100644 (file)
@@ -81,6 +81,9 @@
 /* Define to 1 if you have the <err.h> 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
 
index 65ab8ddf9f107b1bf728b8b31ac72702f3a13ef0..20e5b490d5051b977aae04b8ec203928f3d8db0f 100755 (executable)
--- 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
index 75fce58b77cd6fd2acec34e29984c3c2ad6256d7..153a345cb56e75f9d980c9f9b481963487d66b4c 100644 (file)
@@ -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