Skip to content

Commit 559a2db

Browse files
committed
fix: remove regex
1 parent 3c043c2 commit 559a2db

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
# Use pkg-config or xml2-config to get the include directories for libxml-2.0
44
xml2_include_paths=""
55
if which xml2-config >/dev/null 2>&1; then
6-
xml2_include_paths=$(xml2-config --cflags | sed -r 's/-I([^ ]*)/-I"\1"/g')
6+
xml2_include_paths=$(xml2-config --cflags)
77
elif which pkg-config >/dev/null 2>&1; then
8-
xml2_include_paths=$(pkg-config --cflags libxml-2.0 | sed -r 's/-I([^ ]*)/-I"\1"/g')
8+
xml2_include_paths=$(pkg-config --cflags libxml-2.0)
99
else
1010
echo "Error: Neither xml2-config nor pkg-config is available"
1111
exit 1

0 commit comments

Comments
 (0)