diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2010-12-31 00:13:49 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2010-12-31 00:19:52 +0100 |
commit | d732efa5ed400ce07ca50e8a44cf7059377d1f84 (patch) | |
tree | aa40518a0d80eaecaf77c971de49cae6d5c22889 | |
parent | a0b68d260f04776f021e8117ba4d88bcc5c70b9a (diff) | |
download | libmnl-d732efa5ed400ce07ca50e8a44cf7059377d1f84.tar.gz libmnl-d732efa5ed400ce07ca50e8a44cf7059377d1f84.zip |
build: use only AC_CANONICAL_HOST
Calculating AC_CANONICAL_TARGET is superfluous, because libmnl
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 819cbf7..82a6ce4 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ dnl Process this file with autoconf to create configure. AC_INIT([libmnl], [1.0.1]) -AC_CANONICAL_TARGET +AC_CANONICAL_HOST AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([foreign dist-bzip2 1.6 subdir-objects]) @@ -12,7 +12,7 @@ AC_EXEEXT AC_DISABLE_STATIC LT_INIT CHECK_GCC_FVISIBILITY -case $target in +case "$host" in *-*-linux*) ;; *) AC_MSG_ERROR([Linux only, dude!]);; esac |