]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2311] rename AX_SYSREPO to AX_NETCONF
authorAndrei Pavel <andrei@isc.org>
Wed, 12 Oct 2022 16:57:14 +0000 (19:57 +0300)
committerAndrei Pavel <andrei@isc.org>
Fri, 21 Oct 2022 14:45:25 +0000 (17:45 +0300)
configure.ac
m4macros/ax_netconf.m4

index 99d38edf481577d3c11c91953296ed97bd33069c..bbe2622d8ca8aaeefc769b0959117d9f701e0160 100644 (file)
@@ -636,6 +636,11 @@ if test "x$usable_regex" != "xno" ; then
         AC_DEFINE(USE_REGEX, 1, [Define to 1 if C++11 regex is usable])
 fi
 
+# Check for NETCONF support. If NETCONF was enabled in the build, and this check
+# passes, it will enforce the --std=c++20 flag. Let's do the check as early as
+# possible so that the rest of the checks include the flag as well.
+AX_NETCONF
+
 # Run the gtest detection routines. This supports --with-gtest and --with-gtest-source
 # parameters. If specified, those will set the HAVE_GTEST, HAVE_GTEST_SOURCE,
 # DISTCHECK_GTEST_CONFIGURE_FLAG, GTEST_INCLUDES, GTEST_LDFLAGS, GTEST_LDADD, GTEST_SOURCE
@@ -832,9 +837,6 @@ if test "${cql_config}" != "no" ; then
     AC_MSG_ERROR([$CQL_CONFIG Cassandra is no longer supported])
 fi
 
-# Check for sysrepo.
-AX_SYSREPO
-
 # Check for log4cplus
 DISTCHECK_LOG4CPLUS_CONFIGURE_FLAG=
 log4cplus_path="yes"
index 7708cd03fa10af8899a32c817b7d95324a743b5d..89db52efac36764a44a4ab33ce46f93a56914f66 100644 (file)
@@ -1,4 +1,4 @@
-AC_DEFUN([AX_SYSREPO], [
+AC_DEFUN([AX_NETCONF], [
 
   AC_ARG_WITH([libyang],
     [AS_HELP_STRING([--with-libyang[[=PATH]]], [optional path to the libyang installation directory])],