ac_configure_args="$new_configure_args"
-use_loadable_modules=1
+use_loadable_modules=0
AC_MSG_CHECKING(whether to use loadable modules)
AC_ARG_ENABLE(loadable-modules,
AC_HELP_STRING( [--disable-loadable-modules], [do not support loadable modules]) ,
AC_MSG_RESULT([$use_loadable_modules, implicitly])
]
)
+use_loadable_modules=0
AM_CONDITIONAL(USE_LOADABLE_MODULES, test $use_loadable_modules = yes)
#include "adaptation/History.h"
/// impossible services value to identify unset theNextServices
-const static String TheNullServices(",null,");
+const static char *TheNullServices = ",null,";
Adaptation::History::Entry::Entry(const String &sid, const timeval &when):
service(sid), start(when), theRptm(-1), retried(false)
}
-Adaptation::History::History(): theNextServices(TheNullServices) {
+Adaptation::History::History(): theNextServices(String(TheNullServices)) {
}
int Adaptation::History::recordXactStart(const String &sid, const timeval &when, bool retrying)
void Adaptation::History::updateNextServices(const String &services)
{
- if (theNextServices != TheNullServices)
+ if (theNextServices != String(TheNullServices))
debugs(93,3, HERE << "old services: " << theNextServices);
debugs(93,3, HERE << "new services: " << services);
- Must(services != TheNullServices);
+ Must(services != String(TheNullServices));
theNextServices = services;
}
bool Adaptation::History::extractNextServices(String &value)
{
- if (theNextServices == TheNullServices)
+ if (theNextServices == String(TheNullServices))
return false;
value = theNextServices;
- theNextServices = TheNullServices; // prevents resetting the plan twice
+ theNextServices = String(TheNullServices); // prevents resetting the plan twice
return true;
}