summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-06-02 19:49:27 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-06-02 19:49:27 +0000
commite963a34f93b377ed9a47f80b2519b7d704f46079 (patch)
tree3f429f316cd2134a9ba33ff6f076e39ea134e956 /m4
parent96d05b2618f69ec087b2cba0b34c8c1d8ce94037 (diff)
downloadcoreutils-e963a34f93b377ed9a47f80b2519b7d704f46079.tar.xz
Sync from gnulib.
Diffstat (limited to 'm4')
-rw-r--r--m4/ChangeLog5
-rw-r--r--m4/extensions.m44
2 files changed, 9 insertions, 0 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog
index 79f89c24b..e33b7a6bb 100644
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,8 @@
+2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
+
+ * extensions.m4: Sync from gnulib; this defines
+ _POSIX_PTHREAD_SEMANTICS for the benefit of Solaris.
+
2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
* mkdir-p.m4: Renamed from makepath.m4.
diff --git a/m4/extensions.m4 b/m4/extensions.m4
index 6f34a8d35..e71845f1d 100644
--- a/m4/extensions.m4
+++ b/m4/extensions.m4
@@ -21,6 +21,10 @@ AC_DEFUN([gl_USE_SYSTEM_EXTENSIONS], [
[/* Enable extensions on Solaris. */
#ifndef __EXTENSIONS__
# undef __EXTENSIONS__
+#endif
+#ifndef _POSIX_PTHREAD_SEMANTICS
+# undef _POSIX_PTHREAD_SEMANTICS
#endif])
AC_DEFINE([__EXTENSIONS__])
+ AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
])