diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2022-01-17 13:29:59 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2022-01-17 14:06:56 +0100 |
commit | 0f97b92f29d05247151920c6fc14eebe87d0a9bb (patch) | |
tree | 3ff05d8f3fb2fd08836d18e4ef7ea6c4f73e3cc4 /configure.ac | |
parent | cd25750b52d03962220663e5c29d2a336a5fceaa (diff) | |
download | vala-0f97b92f29d05247151920c6fc14eebe87d0a9bb.tar.gz |
vala: Add define VALA_ARCH_* to allow buildtime architecture checkwip/arch-defines
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index cd036c78e..7887ecd39 100644 --- a/configure.ac +++ b/configure.ac @@ -44,6 +44,7 @@ AC_PROG_INSTALL AC_PROG_MKDIR_P AC_CANONICAL_HOST +AC_CANONICAL_CPU_ARCH # Detect the target system build_linux=no @@ -56,6 +57,9 @@ case "${host_os}" in esac AM_CONDITIONAL([HAVE_LINUX], [test "$build_linux" = "yes"]) +AC_SUBST(PACKAGE_TARGET_CPU_ARCH) +AC_DEFINE_UNQUOTED(PACKAGE_TARGET_CPU_ARCH, "$target_cpu_arch", [Define to the target architecture]) + LT_PREREQ([2.2.6]) LT_INIT([disable-static]) PKG_PROG_PKG_CONFIG([0.21]) |