From 22a21fdf04216c72b5e365253cc4ef49dcccf714 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 25 Sep 2006 16:27:33 +0000 Subject: r18899: remove check for root when running configure since it does not appear to be used anymore (This used to be commit da17fb41dbf69cafaceb96674fa41744deb487f7) --- source3/configure.in | 9 --------- 1 file changed, 9 deletions(-) diff --git a/source3/configure.in b/source3/configure.in index bcdaa56195..a1c9946647 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -2706,15 +2706,6 @@ SMB_CHECK_SYSCONF(_SC_NPROCESSORS_ONLN) SMB_CHECK_SYSCONF(_SC_PAGESIZE) AC_CHECK_FUNCS(getpagesize) -AC_CACHE_CHECK([for root],samba_cv_HAVE_ROOT,[ -AC_TRY_RUN([main() { exit(getuid() != 0); }], - samba_cv_HAVE_ROOT=yes,samba_cv_HAVE_ROOT=no,samba_cv_HAVE_ROOT=cross)]) -if test x"$samba_cv_HAVE_ROOT" = x"yes"; then - AC_DEFINE(HAVE_ROOT,1,[Whether current user is root]) -else - AC_MSG_WARN(running as non-root will disable some tests) -fi - ################## # look for a method of finding the list of network interfaces iface=no; -- cgit