1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-12 17:14:46 +02:00

- Upgrade to tre-0.8.0, adding hack similar to the one for c-ares to ensure that the bundled tre is compiled against even when a system libtre is installed. (#3916)

This commit is contained in:
binki
2010-08-16 02:09:51 +00:00
parent 30c5236f25
commit 7272715cec
4 changed files with 14 additions and 6 deletions
+3
View File
@@ -2105,3 +2105,6 @@
IPv6 blocks are allocated to individuals, who might each get a /64 IPv6
block. set::default-ipv6-clone-mask defaults to 64 and provides default
value for the allow blocks.
- Upgrade to tre-0.8.0, adding hack similar to the one for c-ares to
ensure that the bundled tre is compiled against even when a system
libtre is installed. (#3916)
Vendored
+3 -3
View File
@@ -6656,7 +6656,7 @@ $as_echo "no" >&6; }
fi
if test "x$with_system_tre" = "xno"; then :
tre_version="0.7.5"
tre_version="0.8.0"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: extracting TRE regex library" >&5
$as_echo "extracting TRE regex library" >&6; }
cur_dir=`pwd`
@@ -6683,9 +6683,9 @@ $ac_cv_prog_MAKER install || exit 1
TRE_CFLAGS="-I$cur_dir/extras/regexp/include"
if test "x$ac_cv_path_PKGCONFIG" = "x" ; then
TRE_LIBS="-L../extras/regexp/lib -ltre"
TRE_LIBS="../extras/regexp/lib/libtre.a"
else
TRE_LIBS=`$ac_cv_path_PKGCONFIG --libs tre.pc`
TRE_LIBS=`$ac_cv_path_PKGCONFIG --static --libs tre.pc | sed -e 's,-L\(^ \+lib\) -ltre,\1/libtre.a,'`
fi
cd $cur_dir
+8 -3
View File
@@ -539,11 +539,12 @@ export PATH_SEPARATOR
AS_IF([test "x$with_system_tre" = "xno"],[
dnl REMEMBER TO CHANGE WITH A NEW TRE RELEASE!
tre_version="0.7.5"
tre_version="0.8.0"
AC_MSG_RESULT(extracting TRE regex library)
cur_dir=`pwd`
cd extras
dnl remove old tre directory to force a recompile...
dnl and remove its installation prefix just to clean things up.
rm -rf tre-$tre_version rege[]xp
if test "x$ac_cv_path_GUNZIP" = "x" ; then
tar xfz tre.tar.gz
@@ -563,9 +564,13 @@ $ac_cv_prog_MAKER install || exit 1
TRE_CFLAGS="-I$cur_dir/extras/regexp/include"
AC_SUBST(TRE_CFLAGS)
if test "x$ac_cv_path_PKGCONFIG" = "x" ; then
TRE_LIBS="-L../extras/regexp/lib -ltre"
dnl for when pkg-config isn't available
TRE_LIBS="../extras/regexp/lib/libtre.a"
else
TRE_LIBS=`$ac_cv_path_PKGCONFIG --libs tre.pc`
dnl See c-ares's compilation section for more info on this hack.
dnl ensure that we're linking against the bundled version of tre
dnl (we only reach this code if linking against the bundled version is desired).
TRE_LIBS=`$ac_cv_path_PKGCONFIG --static --libs tre.pc | sed -e 's,-L\([^ ]\+lib\) -ltre,\1/libtre.a,'`
fi
AC_SUBST(TRE_LIBS)
cd $cur_dir
BIN
View File
Binary file not shown.