David Edelsohn wrote: > --disable-threads currently does not completely disable threads. Bruno is > suggesting --enable-threads=isoc that relies on mtx mutex functions in libc.
Unfortunately, as said in the other mail today, relying only on mtx_* functions did not drop the dependency towards libpthreads. So, I've made a new release gettext-0.22.4, that includes only these changes: - AM_GNU_GETTEXT now recognizes a statically built libintl on macOS and AIX. - Passing --disable-threads now builds a libintl that, on AIX, does not need -lpthread. - Other build fixes on AIX. > Yes, GCC should configure the in tree gettext with --disable-threads, but > that configure option is not completely effective and does not produce a > build without threads references. Now it is effective. But you (Arsen) should state in the documentation (gcc/doc/install.texi) that for --disable-threads to have this effect, one needs gettext version 0.22.4 or newer. Bruno