There is an quoting error in Gnulib's threadlib.m4 which causes
incorrect configuration settings on old Solaris. We can repeat
the simple check with correct quoting to workaround the problem.
Additionally, pull in DX_LINGUAS fixes from dxcommon to avoid
tripping on Solaris' pre-POSIX /bin/awk.
-Subproject commit b7a7076354b0837c6da080270bd0d6da2dfce75b
+Subproject commit 70c84546fa5ecaba26e4ed021b292a5580f304f0
+# Work around quoting bug in Gnulib threadlib.m4 which prevents
+# correct detection on e.g., Solaris 8. These platforms require
+# PTHREAD_IN_USE_DETECTION_HARD to be set otherwise cdecl99 will
+# crash when reporting an error as initialization is not done.
+#
+# If this gets fixed in Gnulib, we can remove this.
+AS_CASE([$host_os],
+ [[solaris2.[1-9] | solaris2.[1-9].*]],
+ [AC_DEFINE([PTHREAD_IN_USE_DETECTION_HARD])])
+
# As the mbrtowc replacement module is not used by the library, there is
# no need for multithreaded mbrtowc (all programs are single threaded).
AC_DEFINE([GNULIB_MBRTOWC_SINGLE_THREAD], [1], [Define to 1.])
# As the mbrtowc replacement module is not used by the library, there is
# no need for multithreaded mbrtowc (all programs are single threaded).
AC_DEFINE([GNULIB_MBRTOWC_SINGLE_THREAD], [1], [Define to 1.])
/00gnulib.m4
/absolute-header.m4
/alloca.m4
/00gnulib.m4
/absolute-header.m4
/alloca.m4