]> granicus.if.org Git - pdns/commitdiff
Fix libatomic detection on ppc64
authorPieter Lexis <pieter.lexis@powerdns.com>
Fri, 11 Aug 2017 12:37:01 +0000 (14:37 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Fri, 11 Aug 2017 12:37:01 +0000 (14:37 +0200)
Thanks @tjikkun!

Closes #5456

m4/pdns_check_os.m4

index df05dc251cc110cd746ca982fbf53ab17a16386b..ba6546dfac2ea1bcfafefec52f7a289087c882f3 100644 (file)
@@ -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()])],