AC_CANONICAL_HOST adds --host option to configure which is provided
automatically by Meson as --cross-file.
All of the AC_PROG_CC, AC_PROG_INSTALL, AC_PROG_CPP, AM_PROG_CC_C_O,
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(a)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
-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
-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 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-dnl Lesser General Public License for more details.
-dnl
-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/>.
-
-AC_CONFIG_AUX_DIR([build-aux])
-dnl Make automake keep quiet about wildcards & other GNUmake-isms
-AM_INIT_AUTOMAKE([
- 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_ifndef([AM_SILENT_RULES],
- [m4_define([AM_SILENT_RULES],[])])AM_SILENT_RULES([yes])
-
-AC_CANONICAL_HOST
-
-dnl Checks for C compiler.
-AC_PROG_CC
-AC_PROG_INSTALL
-AC_PROG_CPP
-
-dnl get 64-int interfaces on 32-bit platforms
-AC_SYS_LARGEFILE
-
-dnl Support building Win32 DLLs (must appear *before* AM_PROG_LIBTOOL)
-AC_LIBTOOL_WIN32_DLL
-
-m4_ifndef([LT_INIT], [
- AM_PROG_LIBTOOL
-], [
- LT_INIT([shared disable-static])
-])
-AM_PROG_CC_C_O
-AM_PROG_LD
-
-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 ;;
-esac
-
-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
-dnl in case someone want to build static binaries
-dnl STATIC_BINARIES="-static"
-dnl
-STATIC_BINARIES=
-AC_SUBST([STATIC_BINARIES])
-
-
-dnl Need to test if pkg-config exists
-PKG_PROG_PKG_CONFIG
-
-
-# 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=.
-LV_LIBTOOL_OBJDIR=${lt_cv_objdir-.}
-AC_SUBST([LV_LIBTOOL_OBJDIR])
-
-AC_OUTPUT
--
2.26.2