util-linux/m4
Karel Zak d7a0158242 build-sys: rewrite TLS detection
* use more robust tls.m4 from gcc project

   The old version (from util-linux-ng) used AC_TRY_COMPILE. That's
   wrong. We need to use AC_RUN_IFELSE to check that the result is
   link-able and executable.

   The new version also test it TLS really works in multi-thread
   applications.

 * we need to detect TLS usability for cross-compiling

 * this new version supports __thread keyword only, it seems that we
   needn't to care about anything other

Signed-off-by: Karel Zak <kzak@redhat.com>
2009-12-04 15:45:19 +01:00
..
gtk-doc.m4 Revert "build-sys: check for gtk-doc by default" 2009-11-06 23:59:54 +01:00
libtool.m4 build-sys: refresh generated libtool-2 stuff 2009-03-17 14:27:37 +01:00
ltoptions.m4 build-sys: add temporary libtool *.m4 stuff 2009-02-16 10:40:25 +01:00
ltsugar.m4 build-sys: add temporary libtool *.m4 stuff 2009-02-16 10:40:25 +01:00
ltversion.m4 build-sys: add temporary libtool *.m4 stuff 2009-02-16 10:40:25 +01:00
lt~obsolete.m4 build-sys: add temporary libtool *.m4 stuff 2009-02-16 10:40:25 +01:00
tls.m4 build-sys: rewrite TLS detection 2009-12-04 15:45:19 +01:00