summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorFrank M. Kromann <fmk@php.net>2006-04-29 06:24:38 +0000
committerFrank M. Kromann <fmk@php.net>2006-04-29 06:24:38 +0000
commit6ba807db506aa3cac26691cad6f40d438e7b9d34 (patch)
treec3986ba41a55d675d2ef4693f100bcf65bd629f5 /win32
parentff452441e20445a3f829d8b5c6aaddfca84e2073 (diff)
downloadphp-git-6ba807db506aa3cac26691cad6f40d438e7b9d34.tar.gz
Add new configure option --enable-pdb-files
This will generate .pdb files for debugging
Diffstat (limited to 'win32')
-rw-r--r--win32/build/config.w325
1 files changed, 5 insertions, 0 deletions
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);