{
if (GEARMAND_BINARY)
{
- if (HAVE_LIBGEARMAN)
- {
- server= build_gearmand("localhost", try_port);
- }
+ server= build_gearmand("localhost", try_port);
}
}
else if (server_type.compare("hostile-gearmand") == 0)
{
if (GEARMAND_BINARY)
{
- if (HAVE_LIBGEARMAN)
- {
- server= build_gearmand("localhost", try_port, "gearmand/hostile_gearmand");
- }
+ server= build_gearmand("localhost", try_port, "gearmand/hostile_gearmand");
}
}
else if (server_type.compare("drizzled") == 0)
{
if (HAVE_MEMCACHED_BINARY)
{
- if (HAVE_LIBMEMCACHED)
- {
- server= build_memcached("localhost", try_port);
- }
+ server= build_memcached("localhost", try_port);
}
}
}
else if (server_type.compare("memcached") == 0)
{
- if (MEMCACHED_BINARY)
+ if (HAVE_MEMCACHED_BINARY)
{
- if (HAVE_LIBMEMCACHED)
- {
server= build_memcached_socket("localhost", try_port);
- }
- else
- {
- Error << "Libmemcached was not found";
- }
}
else
{