init.sh: correct an outdated comment
[pspp] / m4 / pthread.m4
index c984e2dfb080074f8a2fb8cedfb9276ea5a8b604..69866cbb076efa00ec2d5baae124c749ba63b93c 100644 (file)
@@ -1,5 +1,5 @@
 # pthread.m4
-dnl Copyright (C) 2009 Free Software Foundation, Inc.
+dnl Copyright (C) 2009, 2010 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -17,11 +17,13 @@ AC_DEFUN([gl_PTHREAD_CHECK],
         fi])
      LIBS="$gl_saved_libs"
    else
+     AC_CHECK_TYPES([pthread_t])
      PTHREAD_H='pthread.h'
    fi
 
    AC_SUBST([LIB_PTHREAD])
    AC_SUBST([PTHREAD_H])
 
+   AC_REQUIRE([AC_C_INLINE])
    AC_REQUIRE([AC_C_RESTRICT])
 ])