diff --git a/internals2/buildsys/configunix.xml b/internals2/buildsys/configunix.xml
index af7b8baa7b..4f227fa693 100644
--- a/internals2/buildsys/configunix.xml
+++ b/internals2/buildsys/configunix.xml
@@ -1,5 +1,5 @@
-
+
Talking to the UNIX build system: config.m4
@@ -27,7 +27,7 @@
An example config.m4 file
$
+
+
+ The counter extension's config.m4 file
+
+ The counter extension previously documented has a much simpler
+ config.m4 file than that described above, as it doesn't
+ make use of many buildsystem features. This is a preferred method of
+ operation for any extension that doesn't use an external or bundled library.
+
+
+ counter's config.m4 file
+
+$
+
+
+
+
+
Talking to the Windows build system: config.w32
@@ -16,7 +16,7 @@
An example config.w32 file
$
+
+ The counter extension's config.w32 file
+
+ The counter extension previously documented has a much simpler
+ config.w32 file than that described above, as it
+ doesn't make use of many buildsystem features.
+
+
+ counter's config.w32 file
+
+$
+
+
+
+
+
Files which make up an extension
@@ -31,7 +31,7 @@
- php_example.h
+ php_counter.h
When building an extension as static module into the PHP binary the
@@ -44,7 +44,7 @@
- example.c
+ counter.c
Main extension source file. By convention, the name of this file
@@ -60,23 +60,23 @@
The buildsystem files are discussed elsewhere; this section concentrates on
the rest. These four files make up the bare minimum for an extension, which
may also contain any number of headers, source files, unit tests, and other
- support files. The list of files in a realistic extension might look like
+ support files. The list of files in the counter extension might look like
this:
- Files in an example "real" extension, in no particular order
+ Files in the counter extension, in no particular order
-
+
The zend_module structure
@@ -15,27 +15,27 @@
The zend_module declaration from
- example.c looks like this before any code has been
+ counter.c looks like this before any code has been
written. The example file was generated by
- ext_skel --extname=example, with some obsolete constructs
+ ext_skel --extname=counter, with some obsolete constructs
removed:
- zend_module declaration in an example extension
+ zend_module declaration in the counter extension
With all these fields to play with, it can be confusing to know which to use
for what purpose. Here is the zend_module definition from
- the "counter" example extension.
+ the "counter" example extension after updating it to its final form.