summaryrefslogtreecommitdiff
path: root/TSRM/tsrm.m4
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-7.4'Peter Kokot2019-07-011-8/+0
|\ | | | | | | | | * PHP-7.4: Remove TSRM_BASIC_CHECKS
| * Remove TSRM_BASIC_CHECKSPeter Kokot2019-07-011-8/+0
| | | | | | | | | | | | | | | | This macro is not needed anymore. The AC_PROG_CC is done in the main configure.ac file and the ranlib check is done by the bundled libtool macros. Closes GH-4339
* | Merge branch 'PHP-7.4'Peter Kokot2019-06-301-2/+0
|\ \ | |/ | | | | | | * PHP-7.4: Sync functions checks
| * Sync functions checksPeter Kokot2019-06-301-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed unused checks: - mbsinit check removed, HAVE_MBSINIT removed (not used in php-src) - mempcpy check removed, HAVE_MEMPCPY removed (not used in php-src anymore since 560ed89bfbb56526251e9bd2fbcb27e5932641d8 which uses PHP's own implementation) - strpncpy check removed, added via a8c9e893b6911c785f698d724b2ff61e7aebb737 and not used. - setpgid check removed since HAVE_SETPGID is not used Moved to a central configure.ac: - fpclass - mbrlen moved to configure.ac (since the HAVE_MBRLEN is used accross the php-src) - sigprocmask - getcwd - getwd - glob - strfmon - nice Duplicated checks removed: - gethostname - getlogin - getpwuid_r - socketpair - mprotect check simplified
* | Merge branch 'PHP-7.4'Peter Kokot2019-05-121-2/+8
|\ \ | |/ | | | | | | * PHP-7.4: Normalize comments in *nix build system m4 files
| * Normalize comments in *nix build system m4 filesPeter Kokot2019-05-121-9/+20
| | | | | | | | | | | | | | | | | | Normalization include: - Use dnl for everything that can be ommitted when configure is built in favor of the shell comment character # which is visible in the output. - Line length normalized to 80 columns - Dots for most of the one line sentences - Macro definitions include similar pattern header comments now
* | Merge branch 'PHP-7.4'Peter Kokot2019-04-231-5/+0
|\ \ | |/ | | | | | | * PHP-7.4: Move Autoconf Archive macros to a common m4 dir
| * Move Autoconf Archive macros to a common m4 dirPeter Kokot2019-04-231-6/+0
| | | | | | | | | | In PHP the build dir is used as a directory for external macros including Autoconf Archive macros.
* | Merge branch 'PHP-7.4'Peter Kokot2019-04-231-2/+0
|\ \ | |/ | | | | | | * PHP-7.4: Remove sinclude from tsrm.m4
| * Remove sinclude from tsrm.m4Peter Kokot2019-04-231-2/+0
| | | | | | | | | | This was once part of a standalone TSRM build and is not used in current build system anymore.
* | TSRM cleanup for PHP8Joe Watkins2019-03-251-70/+0
|/
* Clean *nix build systemPeter Kokot2019-03-071-1/+0
| | | | | | | | - remove some outdated and not used macro calls - remove some unused variables - Remove not needed comment from tokenizer config.m4 - Remove not needed comment - remove not needed local variables for editors and syntax highlighting
* Add AS_HELP_STRING to *nix build configure optionsPeter Kokot2019-03-071-21/+17
| | | | | | | | The Autoconf's default AS_HELP_STRING macro can properly format help strings [1] so watching out if columns are aligned manually is not anymore. [1] https://www.gnu.org/software/autoconf/manual/autoconf.html#Pretty-Help-Strings
* Remove AC_PROG_CC_C_OPeter Kokot2019-03-031-1/+0
| | | | | | The AC_PROG_CC_C_O macro checks if compiler can use both -c and -o options together and if not it defines the NO_MINUS_C_MINUS_O symbol. It is not used in current codebase and therefore removed.
* Remove HAVE_STDARG_HPeter Kokot2018-09-181-2/+0
| | | | | | | | | | | | | | | | | | | | | The C89 standard and later defines the `<stdarg.h>` header as part of the standard headers [1]. On current systems it is always present and can be included unconditionally. Checking for presence and functionality of the `<stdarg.h>` header and variadic function is not relevant anymore on current systems since this is always available. Also Autoconf suggests relying on at least C89 or above [2] and [3]. The following files were regenerated with re2c 1.0.3: - Zend/zend_language_scanner.c - Zend/zend_language_scanner_defs.h Refs: [1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2 [2] http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4 [3] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html
* Remove TSRM_CHECK_GCC_ARG and LIBZEND_CPLUSPLUS_CHECKSPeter Kokot2018-07-311-22/+0
| | | | | This removes two old Autoconf macro definitions since they are not used anymore.
* Upgrade AX_FUNC_WHICH_GETHOSTBYNAME_R to serial 8Peter Kokot2018-07-291-1/+1
| | | | | | | | | The AX_FUNC_WHICH_GETHOSTBYNAME_R macro is from the Autoconf Archive. Latest version of the file has few docs changes. File is also renamed as is a pattern of other m4 Autoconf Archive files. Refs: - http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_which_gethostbyname_r.m4
* Trim trailing whitespaces in build filesPeter Kokot2018-07-291-3/+3
| | | | | | Some editors utilizing .editorconfig automatically trim whitespaces. For convenience this patch removes whitespaces in certain build files in Zend and TSRM folders.
* Removed support for BeOS, development for BeOS was supported 17 years ago.Kalle Sommer Nielsen2017-08-291-11/+7
| | | | | | This patch however does not drop support for the BeOS compatible variant, Haiku, see Github PR #2697 which is currently a WiP I intentionally left out some fragments for BeOS in the build system for that seems to be bundles
* fix #71609: Segmentation fault on ZTS with gethostbynameJoe Watkins2016-03-311-1/+3
|
* Zend Signal Handling (see RFC: https://wiki.php.net/rfc/zendsignals)Ilia Alshanetsky2011-06-021-0/+2
| | | | | | | | This needs to go into 5.4 as well, but will wait for Pierre to review win32 situation # Patch by Lucas Nealan, Arnaud Le Blanc, Brian Shire & Ilia Alshanetsky
* fix separate TSRM buildAntony Dovgal2006-08-221-1/+0
|
* - Unify the "configure --help" textsfoobar2005-05-291-1/+1
|
* MFB_4_3: Quote macro names in AC_DEFUN()foobar2004-12-301-6/+6
|
* Aligned configure help texts.foobar2003-10-031-2/+3
|
* Add BeOS thread support to TSRM. This should not impact on any other OS'sDavid Reid2002-10-051-8/+12
| | | | | | | | but allows us to build PHP with threading support and therefore we can build as an Apache 2 module. The locking is currently done using benaphores but this may be reviewed.
* nuke whitespaceSascha Schumann2001-08-211-1/+1
|
* Support for SGI's State Threads. Will be used by PHP's thttpd SAPISascha Schumann2001-06-211-0/+26
| | | | | initially.
* - Change TSRM_OTHER macro to TSRM_THREADS as it should be only to checkAndi Gutmans2000-09-021-1/+1
| | | | | for threads
* Move the sincludes outside of AC_DEFUN(), so PHP can use the macrosSascha Schumann2000-03-071-3/+2
|
* Use improved POSIX threads check from threads.m4Sascha Schumann2000-03-071-21/+7
| | | | | This is shared between some projects (currently Apache 2.0, mhash, mcrypt)
* Rewrite TSRM_CHECK_GCC_ARG to cache its resultSascha Schumann1999-12-301-12/+21
|
* Let check succeed on systems which don't need special flags for pthreads.Sascha Schumann1999-12-301-4/+4
| | | | | Also change the message to be more informative.
* Save a few lines while checking for -pthread[s]?Sascha Schumann1999-12-271-12/+6
|
* Put -pthreads? into CFLAGS; libtool still filters it out during sharedSascha Schumann1999-12-241-4/+4
| | | | | library linking; need to find a way to prevent that.
* Improved check for GCC's -pthread and -pthreads flagSascha Schumann1999-12-221-4/+29
|
* Enable TSRM to use PthSascha Schumann1999-12-211-1/+53
|
* Improve Pthreads checkSascha Schumann1999-12-211-4/+12
|
* Move config code into separate fileSascha Schumann1999-12-171-0/+25