From: German Service Network Date: Fri, 15 Sep 2023 19:20:14 +0000 (+0200) Subject: Change obsolete macro from AC_CANONICAL_SYSTEM to AC_CANONICAL_TARGET X-Git-Tag: v5.1-gsnw-v5.2-1^2 X-Git-Url: https://git.gsnw.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7423dd67461e22be729c17636793b16040d74d16;p=fping.git Change obsolete macro from AC_CANONICAL_SYSTEM to AC_CANONICAL_TARGET --- diff --git a/configure.ac b/configure.ac index 832864e..1c49105 100644 --- a/configure.ac +++ b/configure.ac @@ -7,11 +7,11 @@ AC_INIT([fping],[5.1]) AC_GNU_SOURCE # Detect Operatingsystem -AC_CANONICAL_HOST +AC_CANONICAL_TARGET only_clock_realtime=no -case "${host_os}" in - darwin*) +case "${target}" in + *darwin*) only_clock_realtime=yes ;; *freebsd*) @@ -66,7 +66,6 @@ AC_ARG_ENABLE([safe-limits], AS_IF([test "x$enable_safe_limits" = "xyes"], [ AC_DEFINE(FPING_SAFE_LIMITS, [1], [safe limits should be enforced])]) -AC_CANONICAL_TARGET AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AM_MAINTAINER_MODE