pthread_sigmask: fix typo when testing for libraries
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 8 Jul 2011 17:45:41 +0000 (10:45 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 8 Jul 2011 17:52:34 +0000 (10:52 -0700)
* m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK):
AC_LINK_IFELSE, not AC_COMPILE_IFELSE.

ChangeLog
m4/pthread_sigmask.m4

index 39dbe48..cffcb04 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-07-08  Paul Eggert  <eggert@cs.ucla.edu>
+
+       pthread_sigmask: fix typo when testing for libraries
+       * m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK):
+       AC_LINK_IFELSE, not AC_COMPILE_IFELSE.
+
 2011-07-08  Eric Blake  <eblake@redhat.com>
 
        fts: introduce FTS_NOATIME
index 984f69d..80ac4c5 100644 (file)
@@ -1,4 +1,4 @@
-# pthread_sigmask.m4 serial 5
+# pthread_sigmask.m4 serial 6
 dnl Copyright (C) 2011 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -20,7 +20,7 @@ AC_DEFUN([gl_FUNC_PTHREAD_SIGMASK],
             [gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD],
             [gl_save_LIBS="$LIBS"
              LIBS="$LIBS $LIBMULTITHREAD"
-             AC_COMPILE_IFELSE(
+             AC_LINK_IFELSE(
                [AC_LANG_PROGRAM(
                   [[#include <pthread.h>
                     #include <signal.h>