From: Todd C. Miller Date: Thu, 27 May 2004 22:21:47 +0000 (+0000) Subject: Add back check for setreuid() since NSK doesn't have it. X-Git-Tag: SUDO_1_6_8~116 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=224f05ad1a25dcfbfa333a70939603ea2a29a6b5;p=sudo Add back check for setreuid() since NSK doesn't have it. --- diff --git a/config.h.in b/config.h.in index 266fd7d01..00e082015 100644 --- a/config.h.in +++ b/config.h.in @@ -225,6 +225,9 @@ /* 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 diff --git a/configure b/configure index 3f1c8d2bf..7e71ff3ed 100755 --- 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 diff --git a/configure.in b/configure.in index 9c3ee5ab4..0b1f8fe55 100644 --- a/configure.in +++ b/configure.in @@ -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