From: Frank M. Kromann Date: Sat, 29 Apr 2006 06:24:38 +0000 (+0000) Subject: Add new configure option --enable-pdb-files X-Git-Tag: RELEASE_1_0_3~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ba807db506aa3cac26691cad6f40d438e7b9d34;p=php Add new configure option --enable-pdb-files This will generate .pdb files for debugging --- diff --git a/win32/build/config.w32 b/win32/build/config.w32 index 031f1e2abe..225ef9c8dc 100644 --- a/win32/build/config.w32 +++ b/win32/build/config.w32 @@ -302,6 +302,11 @@ if (PHP_ZEND_MULTIBYTE == "yes") { AC_DEFINE('ZEND_MULTIBYTE', 1); } +ARG_ENABLE("pdb-files", "Enable generation of .pdp files", "no"); +if (PHP_PDB_FILES == "yes") { + ADD_FLAG("LDFLAGS", "/debug /opt:ref"); +} + AC_DEFINE('HAVE_USLEEP', 1); AC_DEFINE('HAVE_STRCOLL', 1);