]> granicus.if.org Git - sudo/commitdiff
Add back check for setreuid() since NSK doesn't have it.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 27 May 2004 22:21:47 +0000 (22:21 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 27 May 2004 22:21:47 +0000 (22:21 +0000)
config.h.in
configure
configure.in

index 266fd7d0114e5a7d36aa938fa2f114ed31e36d1c..00e08201587dfd6734c5a9fc79e7aa95619c8105 100644 (file)
 /* Define if you use SecurID. */
 #undef HAVE_SECURID
 
+/* Define to 1 if you have the `seteuid' function. */
+#undef HAVE_SETEUID
+
 /* Define to 1 if you have the `setresuid' function. */
 #undef HAVE_SETRESUID
 
index 3f1c8d2bf727ca7c1300ca3ccf985ba2a223271a..7e71ff3ed03592a50493bb16a5dcb3f9481faa5b 100755 (executable)
--- a/configure
+++ b/configure
@@ -24670,8 +24670,9 @@ esac
 
 
 
+
 for ac_func in strchr strrchr memchr memcpy memset sysconf tzset \
-              strftime setrlimit initgroups fstat fchown
+              strftime setrlimit initgroups fstat fchown seteuid
 do
 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 echo "$as_me:$LINENO: checking for $ac_func" >&5
index 9c3ee5ab4a6c61260af49f5105b12c8df0ae1ea2..0b1f8fe55c120279559084b6578712df5bfe0126 100644 (file)
@@ -1688,7 +1688,7 @@ dnl
 dnl Function checks
 dnl
 AC_CHECK_FUNCS(strchr strrchr memchr memcpy memset sysconf tzset \
-              strftime setrlimit initgroups fstat fchown)
+              strftime setrlimit initgroups fstat fchown seteuid)
 if test -z "$SKIP_SETRESUID"; then
     AC_CHECK_FUNCS(setresuid, [SKIP_SETREUID=yes])
 fi