-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b4a3419
commit 38263ad
Showing
10 changed files
with
226 additions
and
135 deletions.
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
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,40 @@ | ||
ARG_ENABLE("spx", "Enable SPX extension", "no"); | ||
|
||
ARG_ENABLE("spx-dev", "Compile SPX with debugging symbols", "no"); | ||
|
||
if (PHP_SPX == "yes") { | ||
//if (PHP_ZTS != "no"&& CONTINUOUS_INTEGRATION != "true") { | ||
// AC_MSG_ERROR('SPX does not work with ZTS PHP build'); | ||
//} | ||
|
||
AC_DEFINE("HAVE_SPX", 1, "spx"); | ||
|
||
ADD_FLAG("CFLAGS", "/Ze /WX /Wall /Ox /wd4820 /wd4774 /wd4711 /wd4710"); | ||
//if (CONTINUOUS_INTEGRATION == "true") { | ||
// ADD_FLAG("CFLAGS", "-DCONTINUOUS_INTEGRATION"); | ||
//} | ||
|
||
if (PHP_SPX_DEV == "yes") { | ||
ADD_FLAG("CFLAGS", "/Zi"); | ||
} | ||
|
||
EXTENSION("spx", "src/php_spx.c \ | ||
src/spx_profiler.c \ | ||
src/spx_profiler_tracer.c \ | ||
src/spx_profiler_sampler.c \ | ||
src/spx_reporter_full.c \ | ||
src/spx_reporter_fp.c \ | ||
src/spx_reporter_trace.c \ | ||
src/spx_metric.c \ | ||
src/spx_resource_stats.c \ | ||
src/spx_hmap.c \ | ||
src/spx_str_builder.c \ | ||
src/spx_output_stream.c \ | ||
src/spx_php.c \ | ||
src/spx_stdio.c \ | ||
src/spx_config.c \ | ||
src/spx_utils.c \ | ||
src/spx_fmt.c", true); | ||
|
||
ADD_MAKEFILE_FRAGMENT(); | ||
} |
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
Oops, something went wrong.