glibc/tls.make.c
Roland McGrath 04676765f4 * sysdeps/unix/make-syscalls.sh: When an undefined syscall has
SOURCE=-, append its symbol names to make variable unix-stub-syscalls.
	* sysdeps/unix/Makefile [$(subdir) = misc] [unix-stub-syscalls]
	(sysdep_routines): Add stub-syscalls.
	($(objpfx)stub-syscalls.c): New target.
	(generated): Add stub-syscalls.c.

	* tls.make.c: Also define use-tls according to USE_TLS macro.
2003-03-26 22:49:50 +00:00

16 lines
241 B
C

/* This produces a makefile fragment saying `use-thread = yes' or no. */
#include <tls.h>
#if USE_TLS
@@@ use-tls = yes @@@
#else
@@@ use-tls = no @@@
#endif
#if USE___THREAD
@@@ use-thread = yes @@@
#else
@@@ use-thread = no @@@
#endif