summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
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])
])