Changes with Apache 2.0.18-dev
+ *) Fix httpd's definition of LTFLAGS to be consistent with that of apr
+ and apr-util, allow it to be overridden by the configure command-line
+ (default="--silent") and introduce LT_LDFLAGS to replace what we were
+ formally abusing as LTFLAGS. [Roy Fielding]
+
*) Clean up the reporting of incorrect closing container tags.
[Barrie Slaymaker <barries@slaysys.com>]
APACHE 2.0 STATUS: -*-text-*-
-Last modified at [$Date: 2001/05/07 16:59:05 $]
+Last modified at [$Date: 2001/05/12 03:48:29 $]
Release:
* (possibly) port the bug fix for PR 6942 (segv when LoadModule is put
into a VirtualHost container) to 2.0.
- * the LTFLAGS = -export-dynamic in the config.m4 is wrong. it is getting
- added multiple times during the config process. The -export-dynamic
- should probably move into build/special.mk (the make file used for
- building Apache modules).
-
* shift stuff to mod_core.h
* APR-ize resolver stuff in mod_unique_id (Jeff volunteers)
APACHE_SUBST(CXXFLAGS)
APACHE_SUBST(LTFLAGS)
APACHE_SUBST(LDFLAGS)
+ APACHE_SUBST(LT_LDFLAGS)
APACHE_SUBST(SH_LDFLAGS)
APACHE_SUBST(HTTPD_LDFLAGS)
APACHE_SUBST(LIBS)
# Link-related commands
-LINK = $(LIBTOOL) --mode=link $(COMPILE) $(LTFLAGS) $(ALL_LDFLAGS) -o $@
-SH_LINK = $(SH_LIBTOOL) --mode=link $(COMPILE) $(LTFLAGS) $(ALL_LDFLAGS) $(SH_LDFLAGS) $(CORE_IMPLIB) -o $@
-MOD_LINK = $(LIBTOOL) --mode=link $(COMPILE) -module $(LTFLAGS) $(ALL_LDFLAGS) -o $@
+LINK = $(LIBTOOL) --mode=link $(COMPILE) $(LT_LDFLAGS) $(ALL_LDFLAGS) -o $@
+SH_LINK = $(SH_LIBTOOL) --mode=link $(COMPILE) $(LT_LDFLAGS) $(ALL_LDFLAGS) $(SH_LDFLAGS) $(CORE_IMPLIB) -o $@
+MOD_LINK = $(LIBTOOL) --mode=link $(COMPILE) -module $(LT_LDFLAGS) $(ALL_LDFLAGS) -o $@
# Cross compile commands
other_targets="$other_targets os2core"
;;
*)
- LIBTOOL='$(SHELL) $(top_builddir)/srclib/apr/libtool --silent'
- SH_LIBTOOL='$(SHELL) $(top_builddir)/shlibtool --silent'
+ if test "x$LTFLAGS" = "x"; then
+ LTFLAGS='--silent'
+ fi
+ LIBTOOL='$(SHELL) $(top_builddir)/srclib/apr/libtool $(LTFLAGS)'
+ SH_LIBTOOL='$(SHELL) $(top_builddir)/shlibtool $(LTFLAGS)'
;;
esac
APACHE_MODULE(auth_digest, RFC2617 Digest authentication, , , most)
-APR_ADDTO(LTFLAGS,-export-dynamic)
+APR_ADDTO(LT_LDFLAGS,-export-dynamic)
APACHE_MODPATH_FINISH
APACHE_MODULE(file_cache, File cache, , , no)
-APR_ADDTO(LTFLAGS,-export-dynamic)
+APR_ADDTO(LT_LDFLAGS,-export-dynamic)
APACHE_MODPATH_FINISH
APACHE_MODULE(echo, ECHO server, , , no)
-APR_ADDTO(LTFLAGS,-export-dynamic)
+APR_ADDTO(LT_LDFLAGS,-export-dynamic)
APACHE_MODPATH_FINISH
APACHE_MODULE(include, Server Side Includes, , , yes)
-APR_ADDTO(LTFLAGS,-export-dynamic)
+APR_ADDTO(LT_LDFLAGS,-export-dynamic)
APACHE_MODPATH_FINISH
APACHE_MODULE(suexec, set uid and gid for spawned processes, , , no, [
other_targets=suexec ] )
-APR_ADDTO(LTFLAGS,-export-dynamic)
+APR_ADDTO(LT_LDFLAGS,-export-dynamic)
if test "$apache_cv_mpm" = "threaded" -o "$apache_cv_mpm" = "perchild"; then
# if we are using a threaded MPM, we will get better performance with
APACHE_MODULE(unique_id, per-request unique ids)
APACHE_MODULE(setenvif, basing ENV vars on headers, , , yes)
-APR_ADDTO(LTFLAGS,-export-dynamic)
+APR_ADDTO(LT_LDFLAGS,-export-dynamic)
APACHE_MODPATH_FINISH