From nobody Sat Jul 5 15:48:30 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1521451860566946.0802231521893; Mon, 19 Mar 2018 02:31:00 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 17AE681DE6; Mon, 19 Mar 2018 09:30:59 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DA4D25D6A3; Mon, 19 Mar 2018 09:30:58 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 5FCA24CA99; Mon, 19 Mar 2018 09:30:58 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w2J9Usel026137 for ; Mon, 19 Mar 2018 05:30:55 -0400 Received: by smtp.corp.redhat.com (Postfix) id C50A2200BCAE; Mon, 19 Mar 2018 09:30:54 +0000 (UTC) Received: from antique-work.brq.redhat.com (unknown [10.43.2.152]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6CC2E2026E03 for ; Mon, 19 Mar 2018 09:30:54 +0000 (UTC) From: Pavel Hrdina To: libvir-list@redhat.com Date: Mon, 19 Mar 2018 10:30:46 +0100 Message-Id: <2f28f4021caeb8dcd34d37beae945be251401164.1521451380.git.phrdina@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-loop: libvir-list@redhat.com Subject: [libvirt] [dbus PATCH 2/8] configure: use LIBVIRT_ARG_WITH macro X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Mon, 19 Mar 2018 09:30:59 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pavel Hrdina Reviewed-by: Daniel P. Berrang=C3=A9 --- configure.ac | 33 +++++++++------------------------ 1 file changed, 9 insertions(+), 24 deletions(-) diff --git a/configure.ac b/configure.ac index 6715960..df1a375 100644 --- a/configure.ac +++ b/configure.ac @@ -41,34 +41,19 @@ LIBVIRT_COMPILE_WARNINGS LIBVIRT_LINKER_RELRO LIBVIRT_COMPILE_PIE =20 -AC_ARG_WITH(dbus-services, - [AC_HELP_STRING([--with-dbus-services=3D], - [where D-BUS session services directory is])]) -if ! test -z "$with_dbus_services" ; then - DBUS_SERVICES_DIR=3D"$with_dbus_services" -else - DBUS_SERVICES_DIR=3D"$datadir/dbus-1/services" -fi +LIBVIRT_ARG_WITH([DBUS_SERVICES], [where D-Bus session services direcotry = is], + ['$(datadir)/dbus-1/services']) +DBUS_SERVICES_DIR=3D"$with_dbus_services" AC_SUBST(DBUS_SERVICES_DIR) =20 -AC_ARG_WITH(dbus-system-services, - [AC_HELP_STRING([--with-dbus-system-services=3D], - [where D-BUS system services directory is])]) -if ! test -z "$with_dbus_system_services" ; then - DBUS_SYSTEM_SERVICES_DIR=3D"$with_dbus_system_services" -else - DBUS_SYSTEM_SERVICES_DIR=3D"$datadir/dbus-1/system-services" -fi +LIBVIRT_ARG_WITH([DBUS_SYSTEM_SERVICES], [where D-Bus system services dire= ctory is], + ['$(datadir)/dbus-1/system-services']) +DBUS_SYSTEM_SERVICES_DIR=3D"$with_dbus_system_services" AC_SUBST(DBUS_SYSTEM_SERVICES_DIR) =20 -AC_ARG_WITH(dbus-system-policies, - [AC_HELP_STRING([--with-dbus-system-policies=3D], - [where D-BUS system policies directory is])]) -if ! test -z "$with_dbus_system_policies" ; then - DBUS_SYSTEM_POLICIES_DIR=3D"$with_dbus_system_policies" -else - DBUS_SYSTEM_POLICIES_DIR=3D"$datadir/dbus-1/system.d" -fi +LIBVIRT_ARG_WITH([DBUS_SYSTEM_POLICIES], [where D-Bus system policies dire= ctory is], + ['$(datadir)/dbus-1/system.d']) +DBUS_SYSTEM_POLICIES_DIR=3D"$with_dbus_system_policies" AC_SUBST(DBUS_SYSTEM_POLICIES_DIR) =20 LIBVIRT_ARG_WITH([SYSTEM_USER], [username to run system instance as], --=20 2.14.3 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list