Skip to content

Commit

Permalink
rename source file to avoid conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Dec 3, 2024
1 parent cff1eb9 commit 2cc7269
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ if test "$PHP_MD4C" != "no"; then
LIBMD4C_VERSION=`$PKG_CONFIG md4c-html --modversion`
AC_DEFINE_UNQUOTED([PHP_LIBMD4C_VERSION], ["$LIBMD4C_VERSION"], [With system libmd4c library])

PHP_NEW_EXTENSION(md4c, md4c.c, $ext_shared)
PHP_NEW_EXTENSION(md4c, php_md4c.c, $ext_shared)
else
LIBMD4C_SOURCES="$EXT_SOURCES \
libmd4c/src/entity.c \
libmd4c/src/md4c.c \
libmd4c/src/md4c-html.c \
"
PHP_NEW_EXTENSION(md4c, md4c.c $LIBMD4C_SOURCES, $ext_shared)
PHP_NEW_EXTENSION(md4c, php_md4c.c $LIBMD4C_SOURCES, $ext_shared)
PHP_ADD_INCLUDE([$ext_srcdir/libmd4c/src])
PHP_ADD_BUILD_DIR([$ext_builddir/libmd4c/src])
fi
Expand Down
2 changes: 1 addition & 1 deletion config.w32
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG_ENABLE('md4c', 'Enable the md4c extension', 'no');

if (PHP_MD4C != 'no') {
EXTENSION('md4c', 'md4c.c');
EXTENSION('md4c', 'php_md4c.c');
}
2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Initial release
<file name="config.m4" role="src" />
<file name="config.w32" role="src" />
<file name="LICENSE" role="doc" />
<file name="md4c.c" role="src" />
<file name="php_md4c.c" role="src" />
<dir name="tests">
<file name="001.phpt" role="test" />
</dir> <!-- tests -->
Expand Down
File renamed without changes.

0 comments on commit 2cc7269

Please sign in to comment.