// $Id: config.w32 244789 2007-10-25 08:11:49Z steinm $
// vim:ft=javascript

ARG_WITH("ps", "Include Postscript support", "no");

if (PHP_PS != "no") {
	if (CHECK_LIB("pslib.lib", "ps", PHP_PS) &&
			CHECK_HEADER_ADD_INCLUDE("libps/pslib.h", "CFLAGS_PS", PHP_PS )) {

		EXTENSION("ps", "ps.c");

		AC_DEFINE('HAVE_PS', 1, 'Have Postscript library');
		ADD_FLAG('CFLAGS_PS', "/D HAVE_PS /D HAVE_PSBEGINFONT=1 /D HAVE_PSGLYPHSHOW=1 ");
	} else {
		WARNING("ps not enabled; libraries and headers not found");
	}
}
