[libvirt] [PATCH] m4/virt-lib: use correct format of package name for AC_ARG_* macros

Pavel Hrdina phrdina at redhat.com
Wed Dec 21 21:26:14 UTC 2016


Introduced by commit 25034b3c40 and reused by commit 4519e94b743.
This patch silences warning printed by configure:

  configure: WARNING: unrecognized options: --with-qemu-user

Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---
 m4/virt-lib.m4 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/m4/virt-lib.m4 b/m4/virt-lib.m4
index 5c3fde258e..031f8890c0 100644
--- a/m4/virt-lib.m4
+++ b/m4/virt-lib.m4
@@ -414,7 +414,7 @@ AC_DEFUN([LIBVIRT_ARG_WITH], [
   m4_pushdef([version_text], m4_ifnblank(min_version, [[ (>= ]]min_version[[)]]))
 
   m4_divert_text([DEFAULTS], [with_var][[=]][default_action])
-  AC_ARG_WITH([check_name_dash],
+  AC_ARG_WITH([check_name_lc],
               [AS_HELP_STRING([[--]arg_var],
                               [with ]]m4_dquote(help_name)m4_dquote(version_text)[[ support @<:@default=]]m4_dquote(default_action)[[@:>@])])
 
@@ -456,7 +456,7 @@ AC_DEFUN([LIBVIRT_ARG_WITH_ALT], [
   m4_pushdef([with_var], [with_]check_name_lc)
 
   m4_divert_text([DEFAULTS], [with_var][[=]][default_action])
-  AC_ARG_WITH([check_name_dash],
+  AC_ARG_WITH([check_name_lc],
               [AS_HELP_STRING([[--]arg_var],
                               ]m4_dquote(help_desc)[[ @<:@default=]]m4_dquote(default_action)[[@:>@])])
 
@@ -494,7 +494,7 @@ AC_DEFUN([LIBVIRT_ARG_ENABLE], [
   m4_pushdef([enable_var], [enable_]check_name_lc)
 
   m4_divert_text([DEFAULTS], [enable_var][[=]][default_action])
-  AC_ARG_ENABLE([check_name_dash],
+  AC_ARG_ENABLE([check_name_lc],
                 [AS_HELP_STRING([[--]arg_var],
                                 ]m4_dquote(help_desc)[[ @<:@default=]]m4_dquote(default_action)[[@:>@])])
 
-- 
2.11.0




More information about the libvir-list mailing list