From: Jan Engelhardt Date: Thu, 30 Dec 2010 23:19:23 +0000 (+0100) Subject: build: use only AC_CANONICAL_HOST X-Git-Tag: v5.3~14^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=159593b699d162b3c1ef2944b5f9f8951ec3ca5f;p=thirdparty%2Fipset.git build: use only AC_CANONICAL_HOST Calculating AC_CANONICAL_TARGET is superfluous, because ipset is not a code generator. Signed-off-by: Jan Engelhardt --- diff --git a/configure.ac b/configure.ac index 7b6d2769..c5bcdce1 100644 --- a/configure.ac +++ b/configure.ac @@ -1,12 +1,12 @@ dnl Boilerplate AC_INIT([ipset], [5.2], [kadlec@blackhole.kfki.hu]) -AC_CANONICAL_TARGET +AC_CANONICAL_HOST AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADER([config.h]) AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) dnl Shortcut: Linux supported alone -case $target in +case "$host" in *-*-linux*) ;; *) AC_MSG_ERROR([Linux systems supported exclusively!]);; esac