configure: Move host_cpu definition to earlier in the file.
[libguestfs.git] / configure.ac
index b143315..e9d0fc0 100644 (file)
@@ -18,7 +18,7 @@
 # major/minor/release must be numbers
 m4_define([libguestfs_major],   [1])
 m4_define([libguestfs_minor],   [0])
-m4_define([libguestfs_release], [85])
+m4_define([libguestfs_release], [86])
 # extra can be any string
 m4_define([libguestfs_extra],   [])
 
@@ -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],