diff options
author | Gerald Carter <jerry@samba.org> | 2006-09-25 16:27:33 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:14:44 -0500 |
commit | 22a21fdf04216c72b5e365253cc4ef49dcccf714 (patch) | |
tree | 46a7abf71748543fcf45157afb7617df91462d56 /source3 | |
parent | fec98506440bbff0c340cc6e35767f0e81398519 (diff) | |
download | samba-22a21fdf04216c72b5e365253cc4ef49dcccf714.tar.gz samba-22a21fdf04216c72b5e365253cc4ef49dcccf714.tar.bz2 samba-22a21fdf04216c72b5e365253cc4ef49dcccf714.zip |
r18899: remove check for root when running configure since it does not appear to be used anymore
(This used to be commit da17fb41dbf69cafaceb96674fa41744deb487f7)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/configure.in | 9 |
1 files changed, 0 insertions, 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; |