diff --recursive '--context=2' --unidirectional-new-file '--exclude=CVS' gettext-0.18.1-reference/gettext-runtime/m4/threadlib.m4 gettext-0.18.1-modified/gettext-runtime/m4/threadlib.m4
*** gettext-0.18.1-reference/gettext-runtime/m4/threadlib.m4	Sun Apr 25 16:05:49 2010
--- gettext-0.18.1-modified/gettext-runtime/m4/threadlib.m4	Sun Jan  9 20:15:20 2011
***************
*** 160,169 ****
            AC_CHECK_LIB([pthread], [pthread_kill],
              [LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
!              # On Solaris and HP-UX, most pthread functions exist also in libc.
               # Therefore pthread_in_use() needs to actually try to create a
               # thread: pthread_create from libc will fail, whereas
               # pthread_create will actually create a thread.
               case "$host_os" in
!                solaris* | hpux*)
                   AC_DEFINE([PTHREAD_IN_USE_DETECTION_HARD], [1],
                     [Define if the pthread_in_use() detection is hard.])
--- 160,169 ----
            AC_CHECK_LIB([pthread], [pthread_kill],
              [LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
!              # On Solaris < 2.10 and HP-UX, most pthread functions exist also in libc.
               # Therefore pthread_in_use() needs to actually try to create a
               # thread: pthread_create from libc will fail, whereas
               # pthread_create will actually create a thread.
               case "$host_os" in
!                solaris2.[1-9] | solaris2.[1-9].* | hpux*)
                   AC_DEFINE([PTHREAD_IN_USE_DETECTION_HARD], [1],
                     [Define if the pthread_in_use() detection is hard.])
