mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
r18899: remove check for root when running configure since it does not appear to be used anymore
This commit is contained in:
parent
ceefb8dd3c
commit
da17fb41db
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user