diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-03-27 16:05:27 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-03-27 16:05:27 (GMT) |
commit | c0e29f9d4574be340d23c88605bf8868b166f718 (patch) | |
tree | 9118eb60caf48830ebbeef70e8b8cf1687735c32 /contrib | |
parent | 83f0b4ecbd83e83b5404afd5cead7a08966495bf (diff) | |
download | uscxml-c0e29f9d4574be340d23c88605bf8868b166f718.zip uscxml-c0e29f9d4574be340d23c88605bf8868b166f718.tar.gz uscxml-c0e29f9d4574be340d23c88605bf8868b166f718.tar.bz2 |
Polished PHP interface somewhat
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/cmake/FindPHP5.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/cmake/FindPHP5.cmake b/contrib/cmake/FindPHP5.cmake index 6ad81a5..68e0f68 100644 --- a/contrib/cmake/FindPHP5.cmake +++ b/contrib/cmake/FindPHP5.cmake @@ -29,11 +29,12 @@ if (UNIX) ERROR_VARIABLE PHP_LDFLAGS_errors RESULT_VARIABLE PHP_LDFLAGS_result) - set(PHP_ZTS_ENABLED OFF) execute_process(COMMAND ${PHP_CONFIG} --configure-options OUTPUT_VARIABLE PHP_CONFIGURE_OPTIONS ERROR_VARIABLE PHP_CONFIGURE_OPTIONS_errors RESULT_VARIABLE PHP_CONFIGURE_OPTIONS_result) + + set(PHP_ZTS_ENABLED OFF) if (PHP_CONFIGURE_OPTIONS MATCHES ".*enable-maintainer-zts.*") set(PHP_ZTS_ENABLED ON) endif() |