]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1223] Improved cross-compiling comment
authorFrancis Dupont <fdupont@isc.org>
Fri, 22 May 2020 17:02:18 +0000 (19:02 +0200)
committerFrancis Dupont <fdupont@isc.org>
Fri, 22 May 2020 17:15:20 +0000 (17:15 +0000)
configure.ac

index 21f1d345cf6866da58d768ee58a40296b128c6a2..8749dda704bde9aac95b023a4230168f0314ecae 100755 (executable)
@@ -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