[libvirt PATCH 347/351] meson: drop all unused bits from configure.ac

Pavel Hrdina phrdina at redhat.com
Thu Jul 16 09:59:43 UTC 2020

AC_CANONICAL_HOST adds --host option to configure which is provided
automatically by Meson as --cross-file.

AM_PROG_LD, PKG_PROG_PKG_CONFIG are automatically checked by Meson.

libtool is not used by meson so there is no need for that as well and
the remaining directives are not relevant for Meson.

Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
 configure.ac | 99 ----------------------------------------------------
 1 file changed, 99 deletions(-)
 delete mode 100644 configure.ac

diff --git a/configure.ac b/configure.ac
deleted file mode 100644
index 111992b3aae..00000000000
--- a/configure.ac
+++ /dev/null
@@ -1,99 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-dnl Copyright (C) 2005-2015 Red Hat, Inc.
-dnl This library is free software; you can redistribute it and/or
-dnl modify it under the terms of the GNU Lesser General Public
-dnl License as published by the Free Software Foundation; either
-dnl version 2.1 of the License, or (at your option) any later version.
-dnl This library is distributed in the hope that it will be useful,
-dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
-dnl Lesser General Public License for more details.
-dnl You should have received a copy of the GNU Lesser General Public
-dnl License along with this library.  If not, see
-dnl <http://www.gnu.org/licenses/>.
-dnl Make automake keep quiet about wildcards & other GNUmake-isms
-    foreign
-    -Wno-portability
-    tar-pax
-    no-dist-gzip
-    dist-xz
-    subdir-objects
-    ])
-dnl older automake's default of ARFLAGS=cru is noisy on newer binutils;
-dnl we don't really need the 'u' even in older toolchains.  Then there is
-dnl older libtool, which spelled it AR_FLAGS
-m4_divert_text([DEFAULTS], [: "${ARFLAGS=cr} ${AR_FLAGS=cr}"])
-# Default to using the silent-rules feature when possible.  Formatting
-# chosen to bypass 'grep' checks that cause older automake to warn.
-# Users (include rpm) can still change the default at configure time.
- [m4_define([AM_SILENT_RULES],[])])AM_SILENT_RULES([yes])
-dnl Checks for C compiler.
-dnl get 64-int interfaces on 32-bit platforms
-dnl Support building Win32 DLLs (must appear *before* AM_PROG_LIBTOOL)
-m4_ifndef([LT_INIT], [
-], [
-  LT_INIT([shared disable-static])
-dnl Make some notes about which OS we're compiling for, as the lxc and qemu
-dnl drivers require linux headers, and storage_mpath, dtrace, and nwfilter
-dnl are also linux specific.  The "network" and storage_fs drivers are known
-dnl to not work on macOS presently, so we also make a note if compiling
-dnl for that
-with_linux=no with_macos=no with_freebsd=no with_win=no
-case $host in
-  *-*-linux*) with_linux=yes ;;
-  *-*-darwin*) with_macos=yes ;;
-  *-*-freebsd*) with_freebsd=yes ;;
-  *-*-mingw* | *-*-msvc* ) with_win=yes ;;
-AM_CONDITIONAL([WITH_LINUX], [test "$with_linux" = "yes"])
-AM_CONDITIONAL([WITH_FREEBSD], [test "$with_freebsd" = "yes"])
-AM_CONDITIONAL([WITH_MACOS], [test "$with_macos" = "yes"])
-dnl in case someone want to build static binaries
-dnl STATIC_BINARIES="-static"
-dnl Need to test if pkg-config exists
-# Set LV_LIBTOOL_OBJDIR to "." or $lt_cv_objdir, depending on whether
-# we're building shared libraries.  This is the name of the directory
-# in which .o files will be created.
-test "$enable_shared" = no && lt_cv_objdir=.

More information about the libvir-list mailing list