summaryrefslogtreecommitdiff
path: root/README.SELF-CONTAINED-EXTENSIONS
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-06-08 00:34:04 +0000
committerSascha Schumann <sas@php.net>2000-06-08 00:34:04 +0000
commit471a07f223e01d0316d45515729f4a5b506cf900 (patch)
tree01a6b07649617c810832b70f2b53491fc62ff108 /README.SELF-CONTAINED-EXTENSIONS
parent66eedaa03d13b50e756e4b5a8ed9af4db37ee8b7 (diff)
downloadphp-git-471a07f223e01d0316d45515729f4a5b506cf900.tar.gz
Add note about using PHP_ARG_WITH/ENABLE
Diffstat (limited to 'README.SELF-CONTAINED-EXTENSIONS')
-rw-r--r--README.SELF-CONTAINED-EXTENSIONS7
1 files changed, 6 insertions, 1 deletions
diff --git a/README.SELF-CONTAINED-EXTENSIONS b/README.SELF-CONTAINED-EXTENSIONS
index 68ddf6b32a..b97725ee7c 100644
--- a/README.SELF-CONTAINED-EXTENSIONS
+++ b/README.SELF-CONTAINED-EXTENSIONS
@@ -93,12 +93,17 @@ CREATING THE M4 CONFIGURATION FILE
PHP_ARG_ENABLE(foobar,whether to enable foobar,
[ --enable-foobar Enable foobar])
-PHP_EXTENSION(foobar, $ext_shared)
+if test "$PHP_FOOBAR" != "no"; then
+ PHP_EXTENSION(foobar, $ext_shared)
+fi
------------------------------------------------------------------------------
PHP_ARG_ENABLE will automatically set the correct variables, so
that the extension will be enabled by PHP_EXTENSION in shared mode.
+ Please use always PHP_ARG_ENABLE or PHP_ARG_WITH. Even if you do not
+ plan to distribute your module with PHP, these facilities allow you
+ to integrate your module easily into the main PHP module framework.
CREATING SOURCE FILES