Skip to content

Commit c5ea173

Browse files
committed
Added missing config.x.in files for ext_skel
1 parent 9ae9533 commit c5ea173

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

ext/skeleton/config.m4.in

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
PHP_ARG_ENABLE(%EXTNAME%, whether to enable %EXTNAME% support,
2+
[ --enable-%EXTNAME% Enable %EXTNAME% support], no)
3+
4+
if test "$PHP_%EXTNAMECAPS%" != "no"; then
5+
AC_DEFINE(HAVE_%EXTNAMECAPS%, 1, [ Have %EXTNAME% support ])
6+
PHP_NEW_EXTENSION(%EXTNAME%, %EXTNAME%.c, $ext_shared)
7+
fi

ext/skeleton/config.w32.in

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
ARG_ENABLE('%EXTNAME%', '%EXTNAME% support', 'no');
2+
3+
if (PHP_%EXTNAMECAPS% != 'no') {
4+
AC_DEFINE('HAVE_%EXTNAMECAPS%', 1, '%EXTNAME% support enabled');
5+
6+
EXTENSION('%EXTNAME%', '%EXTNAME%.c', null, '/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1');
7+
}

0 commit comments

Comments
 (0)