mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 07:32:04 +02:00
switch for gregex and regex.h
This commit is contained in:
parent
5dcf291f21
commit
f5cbbebc2e
8 changed files with 133 additions and 2 deletions
16
configure.ac
16
configure.ac
|
|
@ -144,6 +144,15 @@ AC_ARG_ENABLE(true-color,
|
|||
fi,
|
||||
want_truecolor=no)
|
||||
|
||||
AC_ARG_ENABLE(gregex,
|
||||
[ --disable-gregex Build without GRegex (fall back to regex.h)],
|
||||
if test x$enableval = xno ; then
|
||||
want_gregex=no
|
||||
else
|
||||
want_gregex=yes
|
||||
fi,
|
||||
want_gregex=yes)
|
||||
|
||||
dnl **
|
||||
dnl ** just some generic stuff...
|
||||
dnl **
|
||||
|
|
@ -534,6 +543,12 @@ else
|
|||
want_truecolor=no
|
||||
fi
|
||||
|
||||
if test "x$want_gregex" = "xyes"; then
|
||||
AC_DEFINE([USE_GREGEX], [], [use GRegex for regular expressions])
|
||||
else
|
||||
want_gregex=no
|
||||
fi
|
||||
|
||||
AH_TEMPLATE(HAVE_GMODULE)
|
||||
AH_TEMPLATE(HAVE_SOCKS_H, [misc..])
|
||||
AH_TEMPLATE(HAVE_STATIC_PERL)
|
||||
|
|
@ -648,6 +663,7 @@ echo
|
|||
|
||||
echo "Building with 64bit DCC support .. : $offt_64bit"
|
||||
echo "Building with true color support.. : $want_truecolor"
|
||||
echo "Building with GRegex ............. : $want_gregex"
|
||||
|
||||
echo
|
||||
echo "If there are any problems, read the INSTALL file."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue