summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2024-08-27 10:38:09 -0400
committerGitHub <noreply@github.com>2024-08-27 10:38:09 -0400
commitbd0fdc443e99da635aa9a3558fb66b23fab80a55 (patch)
tree1fefc93d6ad7127a2e3b64f209b7f386083352af /configure.ac
parent5a6cb0bf75231e42927f60f20996f85e168bd1bf (diff)
parentb3dc3680bcb147748deb5b5a96ffa9aee7446102 (diff)
Merge pull request #16610 from Jafaral/no-py
tools, ospfclient: add a config option to skip installing python scripts
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 885d5d1f5e..e1aa05b869 100644
--- a/configure.ac
+++ b/configure.ac
@@ -850,6 +850,9 @@ AC_ARG_WITH([frr-format],
AC_ARG_ENABLE([version_build_config],
AS_HELP_STRING([--disable-version-build-config], [do not include build configs in show version command]))
+AC_ARG_ENABLE([python_runtime],
+ AS_HELP_STRING([--disable-python-runtime], [do not install python scripts or have python runtime dependency]))
+
#if openssl, else use the internal
AS_IF([test "$with_crypto" = "openssl"], [
AC_CHECK_LIB([crypto], [EVP_DigestInit], [LIBS="$LIBS -lcrypto"], [], [])
@@ -2811,6 +2814,9 @@ AM_CONDITIONAL([PATHD], [test "$enable_pathd" != "no"])
AM_CONDITIONAL([PATHD_PCEP], [test "$enable_pathd" != "no"])
AM_CONDITIONAL([DP_DPDK], [test "$enable_dp_dpdk" = "yes"])
+
+AM_CONDITIONAL([PYTHON_RUNTIME_DEPENDENCY], [test "$enable_python_runtime" != "no"])
+
AC_CONFIG_FILES([Makefile],[
test "$enable_dev_build" = "yes" && makefile_devbuild="--dev-build"
${PYTHON} "${ac_abs_top_srcdir}/python/makefile.py" ${makefile_devbuild} || exit 1