@@ -12,7 +12,7 @@ if test "$PHP_DOM" != "no"; then
12
12
13
13
PHP_SETUP_LIBXML([ DOM_SHARED_LIBADD] , [
14
14
AC_DEFINE ( [ HAVE_DOM] , [ 1] , [ Define to 1 if dom extension is available.] )
15
- PHP_LEXBOR_CFLAGS="-I@ext_srcdir@/lexbor -DLEXBOR_STATIC"
15
+ PHP_LEXBOR_CFLAGS="-I@ext_srcdir@/lexbor -DLEXBOR_STATIC -Wno-uninitialized "
16
16
LEXBOR_DIR="lexbor/lexbor"
17
17
LEXBOR_SOURCES=m4_normalize ( [ "
18
18
$LEXBOR_DIR/core/array_obj.c
@@ -26,6 +26,7 @@ if test "$PHP_DOM" != "no"; then
26
26
$LEXBOR_DIR/core/hash.c
27
27
$LEXBOR_DIR/core/mem.c
28
28
$LEXBOR_DIR/core/mraw.c
29
+ $LEXBOR_DIR/core/plog.c
29
30
$LEXBOR_DIR/core/print.c
30
31
$LEXBOR_DIR/core/serialize.c
31
32
$LEXBOR_DIR/core/shs.c
@@ -188,8 +189,12 @@ if test "$PHP_DOM" != "no"; then
188
189
$LEXBOR_DIR/html/tree/open_elements.c
189
190
$LEXBOR_DIR/ns/ns.c
190
191
$LEXBOR_DIR/ports/posix/lexbor/core/memory.c
192
+ $LEXBOR_DIR/punycode/punycode.c
191
193
$LEXBOR_DIR/selectors-adapted/selectors.c
192
194
$LEXBOR_DIR/tag/tag.c
195
+ $LEXBOR_DIR/unicode/idna.c
196
+ $LEXBOR_DIR/unicode/unicode.c
197
+ $LEXBOR_DIR/url/url.c
193
198
"] )
194
199
PHP_NEW_EXTENSION([ dom] , m4_normalize ( [
195
200
attr.c
@@ -246,6 +251,9 @@ if test "$PHP_DOM" != "no"; then
246
251
$ext_builddir/$LEXBOR_DIR/ports/posix/lexbor/core
247
252
$ext_builddir/$LEXBOR_DIR/selectors-adapted
248
253
$ext_builddir/$LEXBOR_DIR/tag
254
+ $ext_builddir/$LEXBOR_DIR/punycode
255
+ $ext_builddir/$LEXBOR_DIR/unicode
256
+ $ext_builddir/$LEXBOR_DIR/url
249
257
] ) )
250
258
PHP_SUBST([ DOM_SHARED_LIBADD] )
251
259
PHP_INSTALL_HEADERS([ ext/dom] , m4_normalize ( [
0 commit comments