From 0cf2ba344d69d86d6f6dff9854a8c849b1697d16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Z=CC=8Cilvinas=20Valinskas?= Date: Wed, 30 Apr 2014 22:51:39 +0300 Subject: [PATCH] Fix ${target_os} expansion. Adds missing AC_CANONICAL_{TARGET,SYSTEM} calls in configure.ac to initialize ${target_os} and other variables. Without changes ${target_os} is always undefined (an empty string). --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index b1e2954..6e7cc8c 100644 --- a/configure.ac +++ b/configure.ac @@ -26,6 +26,9 @@ AC_CONFIG_HEADERS(include/bmon/defs.h) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_MACRO_DIR([m4]) +AC_CANONICAL_TARGET +AC_CANONICAL_SYSTEM + AM_INIT_AUTOMAKE([-Wall foreign subdir-objects]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)], [])