diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2010-12-31 00:19:23 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2010-12-31 00:19:23 +0100 |
commit | 159593b699d162b3c1ef2944b5f9f8951ec3ca5f (patch) | |
tree | fb43fcff677bce75ebed905a5ab8e0bc5b276076 | |
parent | 6e0145723621f476d10c81d57e1bb6b0bb3c6ddb (diff) |
build: use only AC_CANONICAL_HOST
Calculating AC_CANONICAL_TARGET is superfluous, because ipset is not a
code generator.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 7b6d276..c5bcdce 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 |