[Libguestfs] [PATCH 1/10] configure: Move host_cpu definition to earlier in the file.
Richard W.M. Jones
rjones at redhat.com
Sun Mar 21 17:22:57 UTC 2010
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages. http://et.redhat.com/~rjones/libguestfs/
See what it can do: http://et.redhat.com/~rjones/libguestfs/recipes.html
-------------- next part --------------
>From e352a8c5ec44ea43de23949748f1e8607cf78e37 Mon Sep 17 00:00:00 2001
From: Richard Jones <rich at koneko.home.annexia.org>
Date: Sun, 21 Mar 2010 16:32:27 +0000
Subject: [PATCH 01/10] configure: Move host_cpu definition to earlier in the file.
---
configure.ac | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index aa757dc..e9d0fc0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -128,6 +128,9 @@ AC_SYS_LARGEFILE
dnl Check sizeof long.
AC_CHECK_SIZEOF([long])
+dnl Define a C symbol for the host CPU architecture.
+AC_DEFINE_UNQUOTED([host_cpu],["$host_cpu"],[Host architecture.])
+
dnl Headers.
AC_CHECK_HEADERS([errno.h sys/types.h sys/un.h sys/wait.h sys/socket.h endian.h byteswap.h])
@@ -335,9 +338,6 @@ AC_ARG_WITH([updates],
UPDATES="$with_updates"
AC_SUBST(UPDATES)
-dnl Define a symbol for the host CPU architecture.
-AC_DEFINE_UNQUOTED([host_cpu],["$host_cpu"],[Host architecture.])
-
dnl --with-mirror to specify a local Fedora mirror.
AC_ARG_WITH([mirror],
[AS_HELP_STRING([--with-mirror],
--
1.6.4.1
More information about the Libguestfs
mailing list