From: Richard W.M. Jones Date: Sat, 27 Feb 2016 12:22:12 +0000 (+0000) Subject: Define Config.host_cpu. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=0a9c8e59b0fe89c12c05ceca6601f655459d78d2;p=mclu.git Define Config.host_cpu. --- diff --git a/config.ml.in b/config.ml.in index 14fd2ba..b7ce380 100644 --- a/config.ml.in +++ b/config.ml.in @@ -19,6 +19,8 @@ let maybe = function "no" -> None | s -> Some s +let host_cpu = "@host_cpu@" + let path_virt_builder = maybe "@VIRT_BUILDER@" let path_virt_viewer = maybe "@VIRT_VIEWER@" let path_wol = maybe "@WOL@" diff --git a/configure.ac b/configure.ac index aa2d694..4d16153 100644 --- a/configure.ac +++ b/configure.ac @@ -33,6 +33,9 @@ AC_PROG_INSTALL dnl Define GNU_SOURCE etc. AC_USE_SYSTEM_EXTENSIONS +dnl Define the host CPU architecture (defines host_cpu). +AC_CANONICAL_HOST + dnl Need libtool for creating the shared library. AC_PROG_LIBTOOL