com php-src: Added missing config.x.in files for ext_skel: ext/skeleton/config.m4.in ext/skeleton/config.w3 2.in

From: Date: Fri, 11 Aug 2017 13:42:47 +0000
Subject: com php-src: Added missing config.x.in files for ext_skel: ext/skeleton/config.m4.in ext/skeleton/config.w3 2.in
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-98987@lists.php.net to get a copy of this message
Commit: c5ea173a21f6c0a813a5aa1a4d3612b8a831fb22 Author: Kalle Sommer Nielsen <kalle@php.net> Fri, 11 Aug 2017 15:42:47 +0200 Parents: 9ae9533b90403fdf26596cd105ef7f85e0ce86ed Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c5ea173a21f6c0a813a5aa1a4d3612b8a831fb22 Log: Added missing config.x.in files for ext_skel Changed paths: A ext/skeleton/config.m4.in A ext/skeleton/config.w32.in Diff: diff --git a/ext/skeleton/config.m4.in b/ext/skeleton/config.m4.in new file mode 100644 index 0000000..fe2a1c4 --- /dev/null +++ b/ext/skeleton/config.m4.in @@ -0,0 +1,7 @@ +PHP_ARG_ENABLE(%EXTNAME%, whether to enable %EXTNAME% support, +[ --enable-%EXTNAME% Enable %EXTNAME% support], no) + +if test "$PHP_%EXTNAMECAPS%" != "no"; then + AC_DEFINE(HAVE_%EXTNAMECAPS%, 1, [ Have %EXTNAME% support ]) + PHP_NEW_EXTENSION(%EXTNAME%, %EXTNAME%.c, $ext_shared) +fi diff --git a/ext/skeleton/config.w32.in b/ext/skeleton/config..w32.in new file mode 100644 index 0000000..4159262 --- /dev/null +++ b/ext/skeleton/config.w32.in @@ -0,0 +1,7 @@ +ARG_ENABLE('%EXTNAME%', '%EXTNAME% support', 'no'); + +if (PHP_%EXTNAMECAPS% != 'no') { + AC_DEFINE('HAVE_%EXTNAMECAPS%', 1, '%EXTNAME% support enabled'); + + EXTENSION('%EXTNAME%', '%EXTNAME%.c', null, '/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1'); +} \ No newline at end of file

« previous php.cvs (#98987) next »