// vim:ft=javascript ARG_WITH("perforce", "Perforce client support", "no"); if (PHP_PERFORCE != "no") { if (CHECK_HEADER_ADD_INCLUDE("clientapi.h", "CFLAGS_PERFORCE", PHP_PERFORCE + "\\include\\p4") && CHECK_LIB("libclient.lib", "perforce", PHP_PERFORCE + "\\lib") && CHECK_LIB("librpc.lib", "perforce", PHP_PERFORCE + "\\lib") && CHECK_LIB("libsupp.lib", "perforce", PHP_PERFORCE + "\\lib")) { EXTENSION("perforce", "perforce.cpp", null, "/DOS_NT /DCASE_INSENSITIVE"); AC_DEFINE("HAVE_PERFORCE", 1); } else { WARNING("perforce not enabled; libraries and headers not found"); } }