Commit cb52a0b2 authored by Greg Ames's avatar Greg Ames
Browse files

fix make install so that suexec is installed where the server expects to
find it ( <prefix>/sbin by default).

also enable ./configure --sbindir=DIR to work as advertised.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88422 13f79535-47bb-0310-9956-ffa450edef68
parent 6b5cbd6d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -117,8 +117,8 @@ install-include:

install-suexec:
	@if test -f $(builddir)/support/suexec; then \
	    $(MKINSTALLDIRS) $(bindir)/sbin; \
	    cp -p $(srcdir)/support/suexec $(bindir)/sbin; \
            test -d $(sbindir) || $(MKINSTALLDIRS) $(sbindir); \
            cp -p $(srcdir)/support/suexec $(sbindir); \
	fi

suexec:
+1 −0
Original line number Diff line number Diff line
@@ -57,6 +57,7 @@ dnl Creates config_vars.mk
AC_DEFUN(APACHE_GEN_CONFIG_VARS,[
  APACHE_SUBST(abs_srcdir)
  APACHE_SUBST(bindir)
  APACHE_SUBST(sbindir)
  APACHE_SUBST(cgidir)
  APACHE_SUBST(logdir)
  APACHE_SUBST(exec_prefix)