Skip to content

Commit

Permalink
Fix bug #72443: Generate enabled extension
Browse files Browse the repository at this point in the history
The PHP extension generator script now generates enabled extension with
less required steps for using the newly generated files.
  • Loading branch information
petk committed Aug 5, 2018
1 parent 169a983 commit 45a3c0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ext/ext_skel
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ dnl [ --with-$extname Include $extname support])
dnl Otherwise use enable:
dnl PHP_ARG_ENABLE($extname, whether to enable $extname support,
PHP_ARG_ENABLE($extname, whether to enable $extname support,
dnl Make sure that the comment is aligned:
dnl [ --enable-$extname Enable $extname support])
[ --enable-$extname Enable $extname support])
if test "\$PHP_$EXTNAME" != "no"; then
dnl Write more examples of tests here...
Expand Down Expand Up @@ -179,7 +179,7 @@ cat >config.w32 <<eof
// ARG_WITH("$extname", "for $extname support", "no");
// Otherwise, use ARG_ENABLE
// ARG_ENABLE("$extname", "enable $extname support", "no");
ARG_ENABLE("$extname", "enable $extname support", "no");
if (PHP_$EXTNAME != "no") {
EXTENSION("$extname", "$extname.c", PHP_EXTNAME_SHARED, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
Expand Down

0 comments on commit 45a3c0e

Please sign in to comment.