File: config.w32

package info (click to toggle)
php-luasandbox 4.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 620 kB
  • sloc: ansic: 3,700; xml: 2,152; php: 64; makefile: 13; sh: 3
file content (12 lines) | stat: -rw-r--r-- 529 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
// vim:ft=javascript

ARG_WITH("luasandbox", "Include luasandbox support", "no");

if (PHP_LUASANDBOX != "no") {
    if (CHECK_LIB("lua5.1.lib", "luasandbox", PHP_LUASANDBOX) &&
            CHECK_HEADER_ADD_INCLUDE("lua.h", "CFLAGS_LUASANDBOX", PHP_PHP_BUILD + "\\include;" + PHP_LUASANDBOX)) {
        EXTENSION("luasandbox", "alloc.c data_conversion.c library.c luasandbox.c timer.c luasandbox_lstrlib.c", PHP_LUASANDBOX_SHARED);
    } else {
        WARNING("luasandbox not enabled; libraries and headers not found");
    }
}