CVS update: php31
| From: | ssb | Date: | Tue, 15 Sep 1998 13:01:12 +0000 |
| Subject: | CVS update: php31 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1099@lists.php.net to get a copy of this message | ||
Date: Tuesday September 15, 1998 @ 9:01
Author: ssb
Update of /repository/php31
In directory asf:/u2/tmp/cvs-serv3568
Modified Files:
acinclude.m4
Log Message:
Fixed library dependencies in ext/.
Removed the hardcoded extension pointers in main/internal_functions.c.
Introduced a new file that has to be present in all extensions: extinfo.c.stub
Some other fixes.
Index: php31/acinclude.m4
diff -c php31/acinclude.m4:2.1 php31/acinclude.m4:2.2
*** php31/acinclude.m4:2.1 Tue Jul 7 19:13:17 1998
--- php31/acinclude.m4 Tue Sep 15 09:01:10 1998
***************
*** 1,4 ****
! dnl $Id: acinclude.m4,v 2.1 1998/07/07 23:13:17 ssb Exp $
dnl
dnl This file contains local autoconf configuration.
--- 1,4 ----
! dnl $Id: acinclude.m4,v 2.2 1998/09/15 13:01:10 ssb Exp $
dnl
dnl This file contains local autoconf configuration.
***************
*** 32,34 ****
--- 32,50 ----
AC_MSG_RESULT(cannot check, guessing ok)
])
])
+
+ dnl
+ dnl Stuff to do when setting up a new extension.
+ dnl XXX have to change the hardcoding of ".a" when we want to be able
+ dnl to make dynamic libraries as well.
+ dnl
+ AC_DEFUN(PHP_EXTENSION,[
+ EXT_SUBDIRS="$EXT_SUBDIRS $1"
+ _extlib="libphpext_$1.a"
+ EXT_LIBS="$EXT_LIBS $1/$_extlib"
+ EXTINFO_DEPS="$EXTINFO_DEPS ../ext/$1/extinfo.c.stub"
+ ])
+
+ AC_SUBST(EXT_SUBDIRS)
+ AC_SUBST(EXT_LIBS)
+ AC_SUBST(EXTINFO_DEPS)
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net