From b16f46605d86a62e4f37bc1e2caab0c52fa9f75c Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Fri, 11 Aug 2017 14:37:01 +0200 Subject: [PATCH] Fix libatomic detection on ppc64 Thanks @tjikkun! Closes #5456 --- m4/pdns_check_os.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/pdns_check_os.m4 b/m4/pdns_check_os.m4 index df05dc251..ba6546dfa 100644 --- a/m4/pdns_check_os.m4 +++ b/m4/pdns_check_os.m4 @@ -36,7 +36,7 @@ AC_DEFUN([PDNS_CHECK_OS],[ AM_CONDITIONAL([HAVE_SOLARIS], [test "x$have_solaris" = "xyes"]) case "$host" in - mips* | powerpc* ) + mips* | powerpc-* ) AC_MSG_CHECKING([whether the linker accepts -latomic]) LDFLAGS="-latomic $LDFLAGS" AC_LINK_IFELSE([m4_default([],[AC_LANG_PROGRAM()])], -- 2.50.1