On 12/13/2008 04:04 PM, Jim Jagielski wrote:
>
> On Dec 12, 2008, at 5:45 PM, Ruediger Pluem wrote:
>
>>
>> The following patch seems to fix this:
>>
>> Index: modules/proxy/balancers/config2.m4
>> ===================================================================
>> --- modules/proxy/balancers/config2.m4 (Revision 726122)
>> +++ modules/proxy/balancers/config2.m4 (Arbeitskopie)
>> @@ -1,11 +1,4 @@
>> APACHE_MODPATH_INIT(proxy/balancers)
>> -if test "$enable_proxy" = "shared"; then
>> - proxy_mods_enable=shared
>> -elif test "$enable_proxy" = "yes"; then
>> - proxy_mods_enable=yes
>> -else
>> - proxy_mods_enable=no
>> -fi
>>
>> proxy_lb_br_objs="mod_lbmethod_byrequests.lo"
>> proxy_lb_bt_objs="mod_lbmethod_bytraffic.lo"
>>
>>
>> The reason is that $enable_proxy is empty by the point of time the
>> above is
>> executed. Since the proxy modules get configured earlier we know that
>> proxy_mods_enable should already have a sane value. But I am no build
>> system specialist. So some remote eyes please,
>>
>
> Ummm... I'm not seeing that at all... where is $enable_proxy being
> cleared in configure?
{ echo "$as_me:$LINENO: result: $enable_proxy$_apmod_extra_msg" >&5
echo "${ECHO_T}$enable_proxy$_apmod_extra_msg" >&6; }
if test "$enable_proxy" != "no"; then
case "$enable_proxy" in
shared*)
enable_proxy=`echo $enable_proxy|sed 's/shared,*//'`
sharedobjs=yes
shared=yes
DSO_MODULES="$DSO_MODULES proxy"
;;
*)
MODLIST="$MODLIST proxy"
if test "proxy" = "so"; then
sharedobjs=yes
fi
shared="";;
esac
The line
enable_proxy=`echo $enable_proxy|sed 's/shared,*//'`
above clears it as $enable_proxy == shared (at least in my environment).
Which results from line 268 of acinclude.m4
fi
AC_MSG_RESULT($enable_$1$_apmod_extra_msg)
if test "$enable_$1" != "no"; then
case "$enable_$1" in
shared*)
enable_$1=`echo $enable_$1|sed 's/shared,*//'`
sharedobjs=yes
shared=yes
DSO_MODULES="$DSO_MODULES $1"
;;
*)
MODLIST="$MODLIST ifelse($4,,$1,$4)"
if test "$1" = "so"; then
sharedobjs=yes
fi
shared="";;
esac
which is part of the APACHE_MODULE macro.
>
> Are you sure you did a 'make extraclean; ./buildconf' after
> r726068
I did.
Regards
RĂ¼diger