Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 18 lines (13 sloc) 0.496 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
// $ Id: $
// vim:ft=javascript

ARG_WITH('memcached', 'libmemcached extension', 'no');

if (PHP_MEMCACHED == "yes") {

  if (!CHECK_LIB("memcached.lib", "memcached", PHP_MEMCACHED)) {
ERROR("memcached: library 'memcached' not found");
  }
  
  if (!CHECK_HEADER_ADD_INCLUDE("libmemcached/memcached.h", "CFLAGS_MEMCACHED")) {
ERROR("memcached: header 'libmemcached/memcached.h' not found");
  }
  EXTENSION("memcached", "memcached.c");
  AC_DEFINE("HAVE_MEMCACHED", 1, "memcached support");
}
Something went wrong with that request. Please try again.