summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorRichard Jones <rich@koneko.home.annexia.org>2010-03-21 16:32:27 +0000
committerRichard Jones <rich@koneko.home.annexia.org>2010-03-22 10:41:43 +0000
commita7cb2d9b08ca038a96aa180fee0f5e8745d2928d (patch)
tree655d4f8c642eda2b40a7313c935580c41ea5aab1 /configure.ac
parent4a065c99e450446e0a9293fa663f97dfed2aa405 (diff)
downloadlibguestfs-a7cb2d9b08ca038a96aa180fee0f5e8745d2928d.tar.gz
libguestfs-a7cb2d9b08ca038a96aa180fee0f5e8745d2928d.tar.xz
libguestfs-a7cb2d9b08ca038a96aa180fee0f5e8745d2928d.zip
configure: Move host_cpu definition to earlier in the file.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index aa757dc8..e9d0fc01 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],