Re: [PHP4BETA] sessions via mm?
| From: | Alan van den Bosch | Date: | Fri, 17 Mar 2000 15:48:11 +0000 |
| Subject: | Re: [PHP4BETA] sessions via mm? | ||
| References: | 1 2 3 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-12333@lists.php.net to get a copy of this message | ||
On Sat, 18 Mar 2000, you wrote:
>On Fri, Mar 17, 2000 at 09:27:09AM -0600, Andrei Zmievski wrote:
>> You're correct, something is wrong here. Sascha?
>
>(reading from a 80x25 terminal)
>
>About the policy:
>
>Yes and no. Yes, because we have a policy which goes like
>"put an extension into its own directory." No, because this
>rule is flexible. As you can see from the code in acinclude.m4,
>PHP_EXTENSION(foo) works even if ext/foo does not exist.
>
>Further questions?
>
aclocal.m4 is generated from acinclude.m4
Looking at lxr.php.net/source/php4/acinclude.m4
PHP_EXTENSION is defined starting from line 407
through to line 432.
416 AC_DEFUN(PHP_EXTENSION,[
417 if test -d "$abs_srcdir/ext/$1" ; then
418 ext_src_base="$abs_srcdir/ext/$1/"
419 ext_base="ext/$1/"
420 EXT_SUBDIRS="$EXT_SUBDIRS $1"
421 if test "$2" != "shared" && test "$2" !=
"yes" &&
test -z "$php_always_shared"; then
422 _extlib="lib$1.a"
423 EXT_LTLIBS="$EXT_LTLIBS ext/$1/lib$1.la"
424 EXT_LIBS="$EXT_LIBS $1/$_extlib"
425 EXT_STATIC="$EXT_STATIC $1"
426 else
427 AC_DEFINE_UNQUOTED([COMPILE_DL_]translit($1,a-z-,A-Z_),
1, Whether to build $1 as dynamic module)
428 EXT_SHARED="$EXT_SHARED $1"
429 fi
430 PHP_FAST_OUTPUT(ext/$1/Makefile)
431 fi
432 ])
433
Line 417 is an if/then that checks for the ext/foo, closing at line 431...
or is my eyesight buggered (I prolly should be in bed ;-} )?
( lines wrapped for the benefit of those on a 80x25 screen...)
--
Regards,
Alan van den Bosch
Sanguis Pty Ltd
/* All generalizations are false. */