1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 14:21:48 +02:00

* Check for lchown.

This commit is contained in:
Eelco Dolstra 2006-12-07 18:51:11 +00:00
parent c3286ec020
commit d03f0d4117
2 changed files with 8 additions and 9 deletions

View file

@ -237,15 +237,7 @@ AM_CONDITIONAL(INIT_STATE, test "$init_state" = "yes")
# Setuid installations.
AC_CHECK_FUNC(setresuid, [HAVE_SETRESUID=1], [HAVE_SETRESUID=])
if test "$HAVE_SETRESUID" = "1"; then
AC_DEFINE(HAVE_SETRESUID, 1, [whether we have setresuid()])
fi
AC_CHECK_FUNC(setreuid, [HAVE_SETREUID=1], [HAVE_SETREUID=])
if test "$HAVE_SETREUID" = "1"; then
AC_DEFINE(HAVE_SETREUID, 1, [whether we have setreuid()])
fi
AC_CHECK_FUNCS([setresuid setreuid lchown])
# This is needed if ATerm, Berkeley DB or bzip2 are static libraries,