Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make these build with new win32 build system.
- Loading branch information
Showing
7 changed files
with
115 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// $Id$ | ||
// vim:ft=javascript | ||
|
||
ARG_WITH("pdf", "PDF support", "no"); | ||
|
||
if (PHP_PDF != "no") { | ||
|
||
if (CHECK_HEADER_ADD_INCLUDE("pdflib.h", "CFLAGS_PDF", PHP_PDF) && | ||
CHECK_LIB("libtiff.lib", "pdf", PHP_PDF) && | ||
CHECK_LIB("libpng.lib", "pdf", PHP_PDF) && | ||
CHECK_LIB("zlib.lib", "pdf", PHP_PDF) && | ||
CHECK_LIB("gdi32.lib", "pdf", PHP_PDF) && | ||
CHECK_LIB("pdflib.lib", "pdf", PHP_PDF)) { | ||
EXTENSION('pdf', 'pdf.c'); | ||
|
||
AC_DEFINE('HAVE_PDFLIB', 1); | ||
|
||
} else { | ||
WARNING("pdf not enabled; libraries and headers not found"); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// $Id$ | ||
// vim:ft=javascript | ||
|
||
ARG_WITH("pspell", "pspell/aspell (whatever it's called this month) support", "no"); | ||
|
||
if (PHP_PSPELL != "no") { | ||
|
||
if (CHECK_HEADER_ADD_INCLUDE("pspell.h", "CFLAGS_PSPELL", PHP_PHP_BUILD + "\\include\\pspell;" + PHP_PSPELL) && | ||
CHECK_LIB("aspell-15.lib", "pspell", PHP_PSPELL)) { | ||
EXTENSION('pspell', 'pspell.c'); | ||
|
||
AC_DEFINE('HAVE_PSPELL', 1); | ||
|
||
} else { | ||
WARNING("pspell not enabled; libraries and headers not found"); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// $Id$ | ||
// vim:ft=javascript | ||
|
||
ARG_WITH("snmp", "SNMP support", "no"); | ||
|
||
if (PHP_SNMP != "no") { | ||
|
||
if (CHECK_HEADER_ADD_INCLUDE("snmp.h", "CFLAGS_SNMP", PHP_PHP_BUILD + "\\include\\ucd-snmp;" + PHP_PHP_BUILD + "\\include\\net-snmp;" + PHP_SNMP) && | ||
CHECK_LIB("libsnmp.lib", "snmp", PHP_SNMP)) { | ||
EXTENSION('snmp', 'snmp.c'); | ||
|
||
AC_DEFINE('HAVE_SNMP', 1); | ||
|
||
} else { | ||
WARNING("snmp not enabled; libraries and headers not found"); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// $Id$ | ||
// vim:ft=javascript | ||
|
||
ARG_ENABLE("sockets", "SOCKETS support", "no"); | ||
|
||
if (PHP_SOCKETS != "no") { | ||
|
||
if (CHECK_LIB("ws2_32.lib", "sockets", PHP_SOCKETS)) { | ||
EXTENSION('sockets', 'sockets.c php_sockets_win.c'); | ||
AC_DEFINE('HAVE_SOCKETS', 1); | ||
} else { | ||
WARNING("sockets not enabled; libraries and headers not found"); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
// $Id$ | ||
// vim:ft=javascript | ||
|
||
ARG_WITH("sybase-ct", "SYBASE_CT support", "no"); | ||
|
||
if (PHP_SYBASE_CT != "no") { | ||
|
||
if (CHECK_HEADER_ADD_INCLUDE("ctpublic.h", "CFLAGS_SYBASE_CT", PHP_PHP_BUILD + "\\sybase\\include;" + PHP_SYBASE_CT) && | ||
CHECK_LIB("libcs.lib", "sybase_ct", PHP_PHP_BUILD + "\\sybase\\lib;" + PHP_SYBASE_CT) && | ||
CHECK_LIB("libct.lib", "sybase_ct", PHP_PHP_BUILD + "\\sybase\\lib;" + PHP_SYBASE_CT)) { | ||
EXTENSION('sybase_ct', 'php_sybase_ct.c'); | ||
AC_DEFINE('HAVE_SYBASE_CT', 1); | ||
} else { | ||
WARNING("sybase_ct not enabled; libraries and headers not found"); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// $Id$ | ||
// vim:ft=javascript | ||
|
||
ARG_WITH("tidy", "TIDY support", "no"); | ||
|
||
if (PHP_TIDY != "no") { | ||
if (CHECK_LIB("libtidy.lib", "tidy", PHP_TIDY) && | ||
( | ||
CHECK_HEADER_ADD_INCLUDE("tidy.h", "CFLAGS_TIDY") || | ||
CHECK_HEADER_ADD_INCLUDE("tidy/tidy.h", "CFLAGS_TIDY", null, null, true) || | ||
CHECK_HEADER_ADD_INCLUDE("libtidy/tidy.h", "CFLAGS_TIDY", null, null, true) | ||
)) { | ||
EXTENSION("tidy", "tidy.c"); | ||
AC_DEFINE('HAVE_TIDY', 1, 'Have TIDY library'); | ||
} else { | ||
WARNING("tidy not enabled; libraries and headers not found"); | ||
} | ||
} | ||
|