summaryrefslogtreecommitdiff
path: root/ext/session/config.m4
Commit message (Collapse)AuthorAgeFilesLines
* ext/session: catch incompatible configure flags earlier.Michael Orlitzky2018-01-241-1/+6
| | | | | | | | | | | | | | | The session extension has a --with-mm flag that tells it to build the mm backend ("mm" is the name of the library). However, that backend is not thread-safe, and mod_mm.c will refuse to compile if the --enable-maintainer-zts flag was also passed to the configure script. Rather than crash halfway through the build, this commit adds a check to the session extension's config.m4 file. If both --with-mm and --enable-maintainer-zts are "on," then the configure script will die and explain that they can't be used together. PHP-bug: 14269
* fix arg order, CFLAGS is the fifth arg in m4Anatol Belski2014-10-171-1/+1
|
* ext/iconv, ext/json and ext/session use static tsrmls pointerAnatol Belski2014-10-171-1/+1
|
* Implement object-oriented session handlers (https://wiki.php.net/rfc/session-oo)Arpad Ray2011-09-131-1/+1
|
* - Fixed config.m4 to complete the fix for bug #53141 (thanks Johannes)Felipe Pena2010-11-021-0/+1
|
* configure dependency has to be optional as wellAntony Dovgal2009-07-281-1/+1
|
* fix segfault in session/tests/031.phpt by adding optional extensionAntony Dovgal2009-07-281-0/+1
| | | | | | dependency (php_hash_hashtable has to be initialized when setting session.hash_function)
* - Unify the "configure --help" textsfoobar2005-05-291-1/+1
|
* - Added PHP_INSTALL_HEADERS() macrofoobar2005-05-071-0/+2
| | | | | | | - Fixed several VPATH build issues - Changed all awk calls to use $AWK - Changed all mkdir calls to use "$php_shtool mkdir"
* Update extensions to use /path/to/$PHP_LIBDIR rather than /path/to/libJoe Orton2004-11-031-1/+1
| | | | | to support multi-ABI platforms.
* - Always look into /usr/local before /usrfoobar2003-10-011-3/+1
| | | | | - Added breaks to make sure the preferred value is used.
* Always prefer user specified paths over the default /usr /usr/local.Ilia Alshanetsky2003-09-301-1/+1
| | | | | | This may fix compilation problems with on systems with multiple copies of the same library.
* The pread/pwrite macros check for a bug in the Linux glibc now.Sascha Schumann2002-10-021-1/+0
| | | | | | | | | | The bug causes the kernel not to return -1/EAGAIN. The new test case has been borrowed from the Linux Test Project. This also fixes a bug which apparently caused HAVE_PREAD/WRITE to be defined even if the more complex checks failed (ac_cv_func_NAME=no was set albeit with no difference).
* Reenable pwrite/pread supportSascha Schumann2002-09-061-0/+3
| | | | | | | The old checks supposed that pread/pwrite worked, if a declaration was found in <unistd.h>. We now actually check whether they work successfully before using them.
* @- Added --disable-all configure option. (Jani)foobar2002-09-041-3/+3
|
* sniper claims its safe to take these out as well.Dan Kalowsky2002-09-041-3/+0
|
* - Fixed bug: #17977, session build as shared works now with mm handler too.foobar2002-06-281-10/+9
| | | | | - Added listing of save handlers into phpinfo() output
* Fix --enable-session=sharedSascha Schumann2002-05-041-3/+3
|
* Please welcome the new build system.Sascha Schumann2002-03-071-1/+1
| | | | | | | | | | If you encounter any problems, please make sure to email sas@php.net directly. An introduction can be found on http://schumann.cx/buildv5.txt
* Unified the configure messages.foobar2001-11-301-3/+5
|
* Fixed bug: #13844foobar2001-10-271-0/+1
|
* This option is no longer neededZeev Suraski2001-08-251-7/+0
|
* Add support for systems where p{read|write} take a off64_t withoutSascha Schumann2001-05-201-0/+2
| | | | | being properly prototyped.
* Nuke more quotesSascha Schumann2001-05-121-1/+1
|
* Save a couple of syscalls per sessionSascha Schumann2001-05-111-0/+1
| | | | | | | Fix apparent new-session-files-were-not-locked bug Replace %m with portable "%s", strerror(errno)
* Renamed the AC_ prefixed macros defined in acinclude.m4 to PHP_* prefixes.foobar2001-03-271-2/+2
| | | | | # Heads up people! I tested this before committing but you never know..
* Use the new AC_ADD_LIBRARY_WITH_PATH option shared-libaddSascha Schumann2000-05-021-6/+2
|
* Improved in-tree shared libraries build systemSascha Schumann2000-05-011-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following new/revived shared modules are available now: ... MySQL (*) ... PCRE (*) ... Session ... SWF (*) capable of using bundled library or external library All changes: The m4 macro PHP_EXTENSION was revamped. Uses LIB_BUILD now. This effectively means that all extensions have to use dynlib. ext/mysql/config.m4 was revamped. Uses LIB_BUILD for building bundled library. ext/pcre/config.m4 was revamped. Uses LIB_BUILD for building bundled library. ext/ext_skel was changed to reflect that more modules should be compileable as shared module. ext/Makefile.in has been simplified enormously. Dependencies are now stored in the build tree. Empty dependencies are not generated by buildconf anymore. They are now dynamically created during the build process. Implicit rules for .S were removed. The NO_RECURSION feature was removed. "libs.mk" has been added to all cvsignore files in ext.
* Welcome PHP_ARG_ENABLE and PHP_ARG_WITH. They are there to replace the commonSascha Schumann2000-03-271-26/+8
| | | | | AC_MSG_CHECKING, AC_ARG_[ENABLE,WITH], AC_MSG_RESULT trio.
* Revamp session's config.m4 and reenable support for mm. The shared memorySascha Schumann2000-03-261-32/+43
| | | | | module works now successfully again under Apache and other web servers.
* Integration of -ng changes. Changes:Sascha Schumann1999-12-301-2/+2
| | | | | | | | | | | | - added support for externally built modules, - improved support for in-tree shared modules, - fixed diversion bugs, - configure displays some informative messages, - faster static build (libtool isn't used anymore for compiling non-PIC objects), - dependencies comparable to automake's without requiring GNU make or GCC, - working make clean for non-GNU makes.
* add transparent session id propagationSascha Schumann1999-09-111-4/+15
| | | | | | | | | this uses a custom scanner which detects relative URIs and changes them appropiately. must be explicitly enabled with --enable-trans-sid (normal case is not affected, since session_adapt_uris defaults to void statement. Compiler should eliminate dead code in output.c then.)
* - add global startup/shutdown handlersSascha Schumann1999-09-031-0/+1
| | | | | | | | | | - improve genif.sh to also consider all header files for inclusion (checks for phpext_) - use vsnprintf in main.c to avoid buffer overflows - improve sessions's mm module to cope better with OOM situations within the shared memory segment - fix typo wrt session.auto_start
* - fix potential buffer problem in send_cookieSascha Schumann1999-08-271-0/+25
| | | | | | | | | | - fix gc probability algorithm - don't access mod_data directly - initial version of mm support for session data storage This works pretty good, but we need to create the initial mm pool from the parent process/thread. Still looking for a clean way to do that.
* first import of session moduleSascha Schumann1999-06-051-0/+5