rse 98/05/27 07:57:38
Modified: src CHANGES . configure Log: Transform the configure message "You need root priviledges for suEXEC" from a fatal error into a (more friendly) warning because the building ("make") of Apache we can allow, of course. Root priviledges are needed only for the installation step ("make install"). So make sure the user is aware of this fact but let him proceed as long as he can. PR: 2288 Revision Changes Path 1.864 +7 -0 apache-1.3/src/CHANGES Index: CHANGES =================================================================== RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v retrieving revision 1.863 retrieving revision 1.864 diff -u -r1.863 -r1.864 --- CHANGES 1998/05/27 14:01:29 1.863 +++ CHANGES 1998/05/27 14:57:36 1.864 @@ -1,4 +1,11 @@ Changes with Apache 1.3b8 + + *) Transform the configure message "You need root priviledges for suEXEC" + from a fatal error into a (more friendly) warning because the building + ("make") of Apache we can allow, of course. Root priviledges are needed + only for the installation step ("make install"). So make sure the + user is aware of this fact but let him proceed as long as he can. + [Ralf S. Engelschall] PR#2288 *) Renamed three more functions to common ap_ prefix which we missed at the Big Symbol Renaming because they're #defines and not real C functions: 1.26 +6 -4 apache-1.3/configure Index: configure =================================================================== RCS file: /export/home/cvs/apache-1.3/configure,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- configure 1998/05/12 12:13:48 1.25 +++ configure 1998/05/27 14:57:37 1.26 @@ -564,10 +564,6 @@ esac ;; suexec ) - if [ ".`id | grep root`" = . ]; then - echo "configure:Error: suEXEC support needs root priviledges for installation" 1>&2 - exit 1 - fi suexec=1 ;; esac @@ -685,6 +681,12 @@ ## ## a few warnings ## +if [ ".$suexec" = .1 ]; then + if [ ".`id | grep root`" = . ]; then + echo " + Warning: You enabled the suEXEC feature. Be aware that you need" 1>&2 + echo " + root priviledges for this, at the latest at the installation step." 1>&2 + fi +fi if [ ".$PERL" = .no-perl-on-this-system ]; then if [ .$quiet = .no ]; then echo " + Warning: no Perl interpreter available for support scripts."