From d03f0d411740aebd5b27e5a1ac57d8533843ff6b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 7 Dec 2006 18:51:11 +0000 Subject: * Check for lchown. --- configure.ac | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index fb2228a6f1..7a83d8f355 100644 --- a/configure.ac +++ b/configure.ac @@ -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, -- cgit 1.4.1