From 17ec5da34abea47fa1adeb7b5c3b2d8ec1fe1de8 Mon Sep 17 00:00:00 2001 From: Jan Vaclav Date: Mon, 6 May 2024 14:42:59 +0200 Subject: [PATCH] contrib/fedora: update scripts to expect autotools deprecation (cherry picked from commit 7b4acf938cfcdbc129c8280db1cbc57f35f55699) --- contrib/fedora/rpm/build_clean.sh | 1 + contrib/fedora/rpm/configure-for-system.sh | 1 + tools/create-exports-NetworkManager.sh | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/contrib/fedora/rpm/build_clean.sh b/contrib/fedora/rpm/build_clean.sh index d06d434141..c1b0f408f6 100755 --- a/contrib/fedora/rpm/build_clean.sh +++ b/contrib/fedora/rpm/build_clean.sh @@ -272,6 +272,7 @@ if [[ $NO_DIST != 1 ]]; then \ --with-iptables=/usr/sbin/iptables \ --with-nft=/usr/sbin/nft \ + --disable-autotools-deprecation \ \ || die "Error autogen.sh" if [[ $QUICK == 1 ]]; then diff --git a/contrib/fedora/rpm/configure-for-system.sh b/contrib/fedora/rpm/configure-for-system.sh index acf5eb9c2f..1af647d51c 100755 --- a/contrib/fedora/rpm/configure-for-system.sh +++ b/contrib/fedora/rpm/configure-for-system.sh @@ -514,6 +514,7 @@ else --with-netconfig=no \ --with-config-dns-rc-manager-default="$P_DNS_RC_MANAGER_DEFAULT" \ --with-config-logging-backend-default="$P_LOGGING_BACKEND_DEFAULT" \ + --disable-autotools-deprecation \ ; fi diff --git a/tools/create-exports-NetworkManager.sh b/tools/create-exports-NetworkManager.sh index ef4b381a60..855d837520 100755 --- a/tools/create-exports-NetworkManager.sh +++ b/tools/create-exports-NetworkManager.sh @@ -26,7 +26,8 @@ _build() { --with-modem-manager-1 \ --with-ofono \ --with-more-asserts \ - --with-more-logging + --with-more-logging \ + --disable-autotools-deprecation make -j20 }