File: config.w32

package info (click to toggle)
php-ps 1.4.4%2B1.3.7-7
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 2,392 kB
  • sloc: ansic: 3,852; php: 1,628; xml: 667; makefile: 1
file content (17 lines) | stat: -rw-r--r-- 464 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// $Id$
// 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");
	}
}