Detecting --disable-session

From: Date: Wed, 10 Oct 2001 17:31:07 +0000
Subject: Detecting --disable-session
Groups: php.dev 
Request: Send a blank email to php-dev+get-67700@lists.php.net to get a copy of this message
Is there are way a session can depect at compile time that session is not included? I looked in the config.m4 of ext/session and it seems not to define a constant that it was, in fact, enabled. So, my extension (ext/msession) fails to link because session is not there. I can wrap the bits that need session in #ifdef/#endif, but of course, I need to kknow how to detect.

« previous php.dev (#67700) next »