From: Francis Dupont Date: Fri, 22 May 2020 17:02:18 +0000 (+0200) Subject: [#1223] Improved cross-compiling comment X-Git-Tag: Kea-1.7.8~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=154ce099074da46cd7a875b0832b88d896859f56;p=thirdparty%2Fkea.git [#1223] Improved cross-compiling comment --- diff --git a/configure.ac b/configure.ac index 21f1d345cf..8749dda704 100755 --- a/configure.ac +++ b/configure.ac @@ -571,7 +571,9 @@ int main() { [AC_MSG_RESULT(no) usable_regex="no"], [AC_MSG_RESULT(cross compiling)]) -# Be optimistic for cross compiling. +# When cross-compiling we don't have any way to check if regex is +# usable or not. +# Let's be optimistic and assume it is by testing only the negative case. if test "x$usable_regex" != "xno" ; then AC_DEFINE(USE_REGEX, 1, [Define to 1 if C++11 regex is usable]) fi