diff options
| author | Badlop <badlop@process-one.net> | 2008-07-14 10:06:13 +0000 |
|---|---|---|
| committer | Badlop <badlop@process-one.net> | 2008-07-14 10:06:13 +0000 |
| commit | 3f87768c8cd4d72fcbc3650c6802e1a0c9d570ac (patch) | |
| tree | 537a7f07214502100433b4b0bbab7bafd453b59a /src/configure | |
| parent | * src/Makefile.in: Fix docdir so it recognizes prefix. If sbin dir (diff) | |
* doc/guide.tex: Update what permissions does enable-user grant
* doc/guide.html: Likewise
* src/configure.ac: Don't explicitely put root privileges when a
user is not explicitely enabled
* src/configure: Likewise
* src/Makefile.in: Likewise
SVN Revision: 1443
Diffstat (limited to 'src/configure')
| -rwxr-xr-x | src/configure | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/configure b/src/configure index f77db635c..6ce0e31fd 100755 --- a/src/configure +++ b/src/configure @@ -5909,18 +5909,21 @@ fi -ENABLEUSER=root +ENABLEUSER="" # Check whether --enable-user was given. if test "${enable_user+set}" = set; then enableval=$enable_user; case "${enableval}" in yes) ENABLEUSER=`whoami` ;; + no) ENABLEUSER="" ;; *) ENABLEUSER=$enableval esac - echo "allow this system user to start ejabberd: $ENABLEUSER" fi -INSTALLUSER=$ENABLEUSER +if test "$ENABLEUSER" != ""; then + echo "allow this system user to start ejabberd: $ENABLEUSER" + INSTALLUSER=$ENABLEUSER +fi cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure |
