Add a test for presence of setresuid(2) system call.
---
config.h.in | 3 +++
configure | 1 +
configure.ac | 1 +
3 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/config.h.in b/config.h.in
index e7c7e0a..50c6c85 100644
--- a/config.h.in
+++ b/config.h.in
@@ -66,6 +66,9 @@
/* Define to 1 if you have the `cfmakeraw' function. */
#undef HAVE_CFMAKERAW
+/* Define to 1 if you have the `setresuid' function. */
+#undef HAVE_SETRESUID
+
/* Define to 1 for Cray XT/XE systems */
#undef HAVE_CRAY
diff --git a/configure b/configure
index f2d184a..a140215 100755
--- a/configure
+++ b/configure
@@ -18280,6 +18280,7 @@ for ac_func in \
setproctitle \
sysctlbyname \
cfmakeraw \
+ setresuid \
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
diff --git a/configure.ac b/configure.ac
index 18352d6..8ff1680 100644
--- a/configure.ac
+++ b/configure.ac
@@ -183,6 +183,7 @@ AC_CHECK_FUNCS( \
setproctitle \
sysctlbyname \
cfmakeraw \
+ setresuid \
)
AC_CHECK_DECLS([hstrerror, strsignal, sys_siglist])
--
1.7.1