[Pkg-libvirt-commits] [libguestfs] 48/165: configure: Move --with-default-backend test later in configure.ac.
Hilko Bengen
bengen at moszumanska.debian.org
Sat Aug 30 08:24:25 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch experimental
in repository libguestfs.
commit c65fbeebb8482fede853445d639ddb6642fd3c1b
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Sat May 17 11:44:46 2014 +0100
configure: Move --with-default-backend test later in configure.ac.
For some reason this test was right at the top of the script.
---
configure.ac | 40 ++++++++++++++++++++--------------------
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/configure.ac b/configure.ac
index 263e914..a648825 100644
--- a/configure.ac
+++ b/configure.ac
@@ -102,26 +102,6 @@ m4_ifdef([AC_PROG_SED],[
# Define $(AWK).
AC_PROG_AWK
-dnl Default backend.
-AC_MSG_CHECKING([if the user specified a default backend])
-AC_ARG_WITH([default-backend],
- [AS_HELP_STRING([--with-default-backend="direct|libvirt|..."],
- [set default backend @<:@default=direct@:>@])],
- [DEFAULT_BACKEND="$withval"],
- [DEFAULT_BACKEND=direct])
-AC_MSG_RESULT([$DEFAULT_BACKEND])
-AC_DEFINE_UNQUOTED([DEFAULT_BACKEND],["$DEFAULT_BACKEND"],
- [Default backend.])
-
-dnl Fail with error if user does --with-default-attach-method.
-AC_ARG_WITH([default-attach-method],
- [AS_HELP_STRING([--with-default-attach-method="..."],
- [use --with-default-backend instead])],
- [AC_MSG_FAILURE([--with-default-attach-method no longer works in
-this version of libguestfs, use
- ./configure --with-default-backend=$withval
-instead.])])
-
dnl Early gnulib initialization.
gl_EARLY
gl_INIT
@@ -367,6 +347,26 @@ AC_MSG_RESULT([$msgfmt_is_gnu])
AM_CONDITIONAL([HAVE_GNU_GETTEXT],
[test "x$XGETTEXT" != "xno" && test "x$MSGCAT" != "xno" && test "x$MSGFMT" != "xno" && test "x$MSGMERGE" != "xno" && test "x$msgfmt_is_gnu" != "xno"])
+dnl Default backend.
+AC_MSG_CHECKING([if the user specified a default backend])
+AC_ARG_WITH([default-backend],
+ [AS_HELP_STRING([--with-default-backend="direct|libvirt|..."],
+ [set default backend @<:@default=direct@:>@])],
+ [DEFAULT_BACKEND="$withval"],
+ [DEFAULT_BACKEND=direct])
+AC_MSG_RESULT([$DEFAULT_BACKEND])
+AC_DEFINE_UNQUOTED([DEFAULT_BACKEND],["$DEFAULT_BACKEND"],
+ [Default backend.])
+
+dnl Fail with error if user does --with-default-attach-method.
+AC_ARG_WITH([default-attach-method],
+ [AS_HELP_STRING([--with-default-attach-method="..."],
+ [use --with-default-backend instead])],
+ [AC_MSG_FAILURE([--with-default-attach-method no longer works in
+this version of libguestfs, use
+ ./configure --with-default-backend=$withval
+instead.])])
+
dnl Build the daemon?
AC_MSG_CHECKING([if we should build the daemon])
AC_ARG_ENABLE([daemon],
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list