From: Richard Jones Date: Sun, 21 Mar 2010 16:32:27 +0000 (+0000) Subject: configure: Move host_cpu definition to earlier in the file. X-Git-Tag: 1.0.87~24 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=a7cb2d9b08ca038a96aa180fee0f5e8745d2928d configure: Move host_cpu definition to earlier in the file. --- 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],