configure: Move host_cpu definition to earlier in the file.
authorRichard Jones <rich@koneko.home.annexia.org>
Sun, 21 Mar 2010 16:32:27 +0000 (16:32 +0000)
committerRichard Jones <rich@koneko.home.annexia.org>
Mon, 22 Mar 2010 10:41:43 +0000 (10:41 +0000)
configure.ac

index aa757dc..e9d0fc0 100644 (file)
@@ -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],