]> git.ipfire.org Git - thirdparty/ipset.git/commitdiff
build: use only AC_CANONICAL_HOST
authorJan Engelhardt <jengelh@medozas.de>
Thu, 30 Dec 2010 23:19:23 +0000 (00:19 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Thu, 30 Dec 2010 23:19:23 +0000 (00:19 +0100)
Calculating AC_CANONICAL_TARGET is superfluous, because ipset is not a
code generator.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
configure.ac

index 7b6d2769192e098a492045de10ee7b65c459a3b4..c5bcdce1d5dc7b87f855bc309f1315c5bc140473 100644 (file)
@@ -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