Skip to content

Commit

Permalink
Change obsolete macro from AC_CANONICAL_SYSTEM to AC_CANONICAL_TARGET
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnw-sebast committed Sep 17, 2023
1 parent 970de17 commit 7423dd6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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*)
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 7423dd6

Please sign in to comment.