summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-12-09 12:06:09 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-12-09 16:41:40 +0000
commit8e4c22db236f08f836a8ab94c8bb025d727684b5 (patch)
tree55ba7d410386e3abe7f6ce5217e73b2ac3a44a39 /configure.ac
parent75893a554c374f59318844bca3433e6a2d6c774b (diff)
downloadlibguestfs-8e4c22db236f08f836a8ab94c8bb025d727684b5.tar.gz
libguestfs-8e4c22db236f08f836a8ab94c8bb025d727684b5.tar.xz
libguestfs-8e4c22db236f08f836a8ab94c8bb025d727684b5.zip
build: Remove check for root.
With the new package building system, it is no longer dangerous to run 'configure', 'make' or 'make check' as root (although it is still not necessary and not advisable). In any case we don't need to check this.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 0 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac
index 89b56186..5752c622 100644
--- a/configure.ac
+++ b/configure.ac
@@ -53,16 +53,6 @@ please see the section "LIBGUESTFS VERSION NUMBERS" in guestfs(3).
***])
])
-dnl Die if the user tries to configure as root, see:
-dnl https://www.redhat.com/archives/libguestfs/2010-April/msg00098.html
-AC_MSG_CHECKING([if you are trying to configure as root])
-AS_IF([test "`id -u`" = 0 ],[
- AC_MSG_RESULT([yes])
- AC_MSG_FAILURE([Don't run './configure' or 'make' as root.])
- ],[
- AC_MSG_RESULT([no])
- ])
-
dnl Early gnulib initialization.
gl_EARLY
gl_INIT