fixing the regex mess that Ryan wasn't yet able to fix himself

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-12-24 12:42:57 +00:00
parent 2138129e25
commit 30f2fa6c53
3 changed files with 14 additions and 6 deletions

View File

@@ -1877,6 +1877,11 @@ dnl ------------------------------------------------------------------------
if test "$wxUSE_REGEX" != "no"; then
AC_DEFINE(wxUSE_REGEX)
if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
AC_MSG_WARN([Unicode build requires built-in regex library, will use it instead])
wxUSE_REGEX=builtin
fi
if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
dnl according to Unix 98 specs, regcomp() is in libc but I believe that