svn commit: samba r18899 - in branches/SAMBA_3_0/source: .
jerry at samba.org
jerry at samba.org
Mon Sep 25 16:27:33 GMT 2006
Author: jerry
Date: 2006-09-25 16:27:33 +0000 (Mon, 25 Sep 2006)
New Revision: 18899
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18899
Log:
remove check for root when running configure since it does not appear to be used anymore
Modified:
branches/SAMBA_3_0/source/configure.in
Changeset:
Modified: branches/SAMBA_3_0/source/configure.in
===================================================================
--- branches/SAMBA_3_0/source/configure.in 2006-09-25 16:26:25 UTC (rev 18898)
+++ branches/SAMBA_3_0/source/configure.in 2006-09-25 16:27:33 UTC (rev 18899)
@@ -2706,15 +2706,6 @@
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;
More information about the samba-cvs
mailing list