]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
meson: drop driver_module configure argument
authorPavel Hrdina <phrdina@redhat.com>
Wed, 24 Jun 2020 11:59:07 +0000 (13:59 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 3 Aug 2020 07:26:28 +0000 (09:26 +0200)
Building without driver_module is not supported anymore so drop the
option before switching to meson as we will not introduce it there.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
configure.ac
m4/virt-driver-modules.m4

index 6136ee792223925256c541a9221ed7c414f92624..33bd203e561462aa2e7bd9f30804dfdac8036872 100644 (file)
@@ -792,7 +792,6 @@ LIBVIRT_WIN_CHECK_WINDRES
 
 
 dnl Driver-Modules library support
-LIBVIRT_ARG_DRIVER_MODULES
 LIBVIRT_CHECK_DRIVER_MODULES
 
 
index 54b75e097393d08a08ef9ad9463e0fb4816ffd2b..f79022838844cbc88edad7aebf2d272b07499105 100644 (file)
@@ -17,25 +17,10 @@ dnl License along with this library.  If not, see
 dnl <http://www.gnu.org/licenses/>.
 dnl
 
-AC_DEFUN([LIBVIRT_ARG_DRIVER_MODULES], [
-  LIBVIRT_ARG_WITH([DRIVER_MODULES], [build drivers as loadable modules],
-                   [yes])
-])
-
 AC_DEFUN([LIBVIRT_CHECK_DRIVER_MODULES], [
   AC_REQUIRE([LIBVIRT_CHECK_DLOPEN])
 
-  if test "$with_libvirtd" = "no" ; then
-    with_driver_modules=no
-  else
-    if test "$with_driver_modules" = "no"; then
-      AC_MSG_ERROR([Building without driver modules is not supported anymore])
-    fi
-
-    if test "$with_driver_modules" = "check"; then
-      with_driver_modules=yes
-    fi
-  fi
+  with_driver_modules=$with_libvirtd
 
   DRIVER_MODULES_CFLAGS=
   if test "$with_driver_modules" = "yes"; then