automatically. This bit me multiple times last night as I was trying to
setup apache.org. I would make a change to the configuration, run make;
make install, and it would fail. The problem was that suexec wasn't
getting re-compiled ever, so my changes weren't getting picked up. This
solves that problem, by making sure that suexec gets compiled if it was
specified on the configure line.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87779
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.0b1
+ *) When SuExec is specified, we need to add it to the list of
+ targets to be built. If we don't, then any changes to the
+ configuration won't affect SuExec, unless 'make suexec' is
+ specifically run. [Ryan Bloom]
+
*) Cleaned out open_file from mod_file_cache, as apr now accepts
the APR_XTHREAD argument to open a file for consumption by
parallel threads on win32. [William Rowe]
$(AP_LIBS)
PROGRAMS = $(PROGRAM_NAME)
-targets = $(PROGRAMS)
+targets = $(PROGRAMS) $(other_targets)
phony_targets = $(srcdir)/buildmark.c
install_targets = install-conf install-htdocs install-icons install-other \
install-cgi install-include install-support install-suexec
APACHE_SUBST(includedir)
APACHE_SUBST(iconsdir)
APACHE_SUBST(sysconfdir)
+ APACHE_SUBST(other_targets)
APACHE_SUBST(progname)
APACHE_SUBST(prefix)
APACHE_SUBST(AWK)
APACHE_MODULE(autoindex, directory listing, , , yes)
APACHE_MODULE(asis, as-is filetypes, , , yes)
APACHE_MODULE(info, server information, , , no)
-APACHE_MODULE(suexec, set uid and gid for spawned processes, , , no)
+APACHE_MODULE(suexec, set uid and gid for spawned processes, , , no, [
+ other_targets=suexec ] )
LTFLAGS="$LTFLAGS -export-dynamic"