From nobody Fri Mar 29 06:15:16 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1578557941; cv=none; d=zohomail.com; s=zohoarc; b=W2STBER7h7FLATInEEfaxDg5oDdnB2CZDdS3/i3581H4SGjQMh/VLhMMNjo8LdKoPLfmO/IpdN5YUPPiOrQeM9ugLDmyZb7hgbvf71sTnCG+lzRafjLy4glI1KHurQcF/SwL8lDBNfQluicsElU2NgjduJwnxgoYvfzTSpvSB5c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578557941; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=n6FUdKEJ37e5/ui7VK7/D2Y6t80/e+kbB7TGmUzarHo=; b=m0/nexcMS5Q5C8TMeKrlHeNbaTUKe2tmc1vtvcUbtUwMesVbZx5JgerLwUY1H9twL7vjP3cgunOJMNpFQB+ZZIfgfdylba2oL3ul2nFR0ttfZZTmSrd6Uey/zGTS9wqxJLuumJHaTBKH7NjHpDzQcYNewTUFKs+FZQzYN0mV+TI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1578557941417948.4176871712359; Thu, 9 Jan 2020 00:19:01 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-302-j4AVrMbCMMWyv-ozCIVXcw-1; Thu, 09 Jan 2020 03:18:58 -0500 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 mimecast-mx01.redhat.com (Postfix) with ESMTPS id 26C8018543A6; Thu, 9 Jan 2020 08:18:53 +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 F16787C3B2; Thu, 9 Jan 2020 08:18:52 +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 B32B6503BA; Thu, 9 Jan 2020 08:18:52 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0098Igwu014845 for ; Thu, 9 Jan 2020 03:18:42 -0500 Received: by smtp.corp.redhat.com (Postfix) id 90ED61000322; Thu, 9 Jan 2020 08:18:42 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.43.2.149]) by smtp.corp.redhat.com (Postfix) with ESMTP id 19A241001B2C for ; Thu, 9 Jan 2020 08:18:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578557940; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=n6FUdKEJ37e5/ui7VK7/D2Y6t80/e+kbB7TGmUzarHo=; b=Z8XkiIbNAARemtwxbKWn5Eno5Te87eUoQrkcSc9ZAirckJ46P4kO7khEyCAhHOn7iQ7Hie /O1SnQR954QSVMj4Xyu8mjt+COt8eoircZsOvUrkOoyoU4IT8xTPBrPtBlqB8nNXNfKh5k E5/9QJW/nGVBy6JwDhwfXXhZFYiJrLA= From: Pavel Hrdina To: libvir-list@redhat.com Date: Thu, 9 Jan 2020 09:16:43 +0100 Message-Id: <74f522385c45918e1e029faf8c3651793bb68d92.1578556319.git.phrdina@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 13/16] replace any autogen.sh reference with configure 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: , 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-MC-Unique: j4AVrMbCMMWyv-ozCIVXcw-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" >From now on there is no need to run autogen.sh in order to build libvirt from clean git checkout as the result of running autogen.sh is stored in git. Signed-off-by: Pavel Hrdina --- .gitlab-ci.yml | 2 +- .travis.yml | 4 ++-- README-hacking | 5 ++--- ci/build.sh | 1 - docs/compiling.html.in | 8 +++----- 5 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ea49c6178b..99ec6b82bf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ script: - mkdir build - cd build - - ../autogen.sh $CONFIGURE_OPTS || (cat config.log && exit 1) + - ../configure $CONFIGURE_OPTS || (cat config.log && exit 1) - make -j $(getconf _NPROCESSORS_ONLN) =20 # We could run every arch on every versions, but it is a little diff --git a/.travis.yml b/.travis.yml index b243e3d5c4..86d6ffea6a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -81,7 +81,7 @@ matrix: # We can't run 'distcheck' or 'syntax-check' because they fail on # macOS, but doing 'install' and 'dist' gives us some useful cover= age - mkdir build && cd build - - ../autogen.sh --prefix=3D$(pwd)/install-root && make -j3 && make= -j3 install && make -j3 dist + - ../configure --prefix=3D$(pwd)/install-root && make -j3 && make = -j3 install && make -j3 dist - compiler: clang language: c os: osx @@ -96,7 +96,7 @@ matrix: # We can't run 'distcheck' or 'syntax-check' because they fail on # macOS, but doing 'install' and 'dist' gives us some useful cover= age - mkdir build && cd build - - ../autogen.sh --prefix=3D$(pwd)/install-root && make -j3 && make= -j3 install && make -j3 dist + - ../configure --prefix=3D$(pwd)/install-root && make -j3 && make = -j3 install && make -j3 dist =20 git: submodules: true diff --git a/README-hacking b/README-hacking index 7da940eb13..29589ce445 100644 --- a/README-hacking +++ b/README-hacking @@ -38,10 +38,9 @@ We require to have the build directory different than th= e source directory: =20 $ mkdir build && cd build =20 -The next step is to get all required pieces from gnulib, -to run autoreconf, and to invoke ../autogen.sh: +The next step is to run configure: =20 - $ ../autogen.sh + $ ../configure =20 And there you are! Just =20 diff --git a/ci/build.sh b/ci/build.sh index 0874c2d1d9..476e45d513 100644 --- a/ci/build.sh +++ b/ci/build.sh @@ -11,7 +11,6 @@ mkdir -p "$CI_CONT_BUILDDIR" || exit 1 cd "$CI_CONT_BUILDDIR" =20 export VIR_TEST_DEBUG=3D1 -NOCONFIGURE=3D1 "$CI_CONT_SRCDIR/autogen.sh" || exit 1 =20 # $CONFIGURE_OPTS is a env that can optionally be set in the container, # populated at build time from the Dockerfile. A typical use case would diff --git a/docs/compiling.html.in b/docs/compiling.html.in index 3731bf0873..52fd5f5397 100644 --- a/docs/compiling.html.in +++ b/docs/compiling.html.in @@ -63,9 +63,7 @@ $ sudo make install

Building from a GIT checkout

=20

- The libvirt build process uses GNU autotools, so after obtaining a - checkout it is necessary to generate the configure script and Makefi= le.in - templates using the autogen.sh command. By default when + The libvirt build process uses GNU autotools. By default when the configure script is run from within a GIT checkout,= it will turn on -Werror for builds. This can be disabled with --disable-werror, but this is not recommended. @@ -101,7 +99,7 @@ $ GNULIB_SRCDIR=3D/path/to/gnulib ./autogen.sh --no-git

=20
-$ ./autogen.sh --prefix=3D$HOME/usr
+$ ./configure --prefix=3D$HOME/usr
 $ make
 $ sudo make install
=20 @@ -113,7 +111,7 @@ $ sudo make install

=20
-$ ./autogen.sh --with-system
+$ ./configure --with-system
 $ make
     
=20 --=20 2.24.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list