summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2013-09-05 15:24:55 -0600
committerEric Blake <eblake@redhat.com>2013-09-09 13:27:49 -0600
commitff777421042a4583916e534795bb375d9e3cca10 (patch)
treef9dcf0a9a5824b605a97b545ff61578db6c03ec1 /m4
parent6cd15482586334a822d248dd8b94cee0635d3e64 (diff)
downloadlibvirt-ff777421042a4583916e534795bb375d9e3cca10.tar.gz
build: avoid obsolete AC_HELP_STRING
Autoconf states that AC_HELP_STRING is obsolete, and that new programs should use AS_HELP_STRING. We also had instances of not properly quoting the macro usage, and not relying on autoconf's word-wrapping abilities to avoid long lines. I validated that this commit has no impact to the generated configure file. * configure.ac (AC_ARG_WITH, AC_ARG_ENABLE): Autoconf recommends the use of AS_HELP_STRING. Also, use proper quoting and wrap long lines. * m4/virt-apparmor.m4 (LIBVIRT_CHECK_APPARMOR): Likewise. * m4/virt-selinux.m4 (LIBVIRT_CHECK_SELINUX): Likewise. Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'm4')
-rw-r--r--m4/virt-apparmor.m44
-rw-r--r--m4/virt-selinux.m43
2 files changed, 4 insertions, 3 deletions
diff --git a/m4/virt-apparmor.m4 b/m4/virt-apparmor.m4
index b358b129c8..3b7fc37aa7 100644
--- a/m4/virt-apparmor.m4
+++ b/m4/virt-apparmor.m4
@@ -22,8 +22,8 @@ AC_DEFUN([LIBVIRT_CHECK_APPARMOR],[
[aa_change_profile], [sys/apparmor.h])
AC_ARG_WITH([apparmor_mount],
- AC_HELP_STRING([--with-apparmor-mount],
- [set AppArmor mount point @<:@default=check@:>@]),
+ [AS_HELP_STRING([--with-apparmor-mount],
+ [set AppArmor mount point @<:@default=check@:>@])],
[],
[with_apparmor_mount=check])
diff --git a/m4/virt-selinux.m4 b/m4/virt-selinux.m4
index abb0d12849..003c2a8685 100644
--- a/m4/virt-selinux.m4
+++ b/m4/virt-selinux.m4
@@ -22,7 +22,8 @@ AC_DEFUN([LIBVIRT_CHECK_SELINUX],[
[fgetfilecon_raw], [selinux/selinux.h])
AC_ARG_WITH([selinux_mount],
- AC_HELP_STRING([--with-selinux-mount], [set SELinux mount point @<:@default=check@:>@]),
+ [AS_HELP_STRING([--with-selinux-mount],
+ [set SELinux mount point @<:@default=check@:>@])],
[],
[with_selinux_mount=check])