Re: [PHP4BETA] Adding a function to PHP4
| From: | Andrei Zmievski | Date: | Thu, 07 Oct 1999 19:47:22 +0000 |
| Subject: | Re: [PHP4BETA] Adding a function to PHP4 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-5334@lists.php.net to get a copy of this message | ||
Paul Dlug wrote:
> Sorry to trouble you again..but I just cannot see what to do..I have this
in my
> directory:
> Makefile.am config.h.stub config.m4 orbita.c setup.stub
>
> And my source file..I edited these files to include my source file and what
> other options looked like they must be changed for my specific extension,
but
> I have no clue where to go from here.
I'm sorry, I don't really have time to give a tutorial on how to write
extensions, just some brief notes.
You need to be somewhat familiar with shell scripting, autoconf and automake
in order to get this working. For now, config.m4 should set up your extension
by modifying include, link, and other variables. config.h.stub is a stub file
that you put your #define's in. Makefile.am is an automake template.
-Andrei
* Change is the only constant. *