Check for pthread and use it if found.
authorJan Djärv <jan.h.d@swipnet.se>
Thu, 4 Aug 2011 17:04:39 +0000 (19:04 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Thu, 4 Aug 2011 17:04:39 +0000 (19:04 +0200)
commitae9e757af16bd39c21496430f66bcca2a47b4835
treec442ffcf54a7946841d42365b4f426200a5f3cb1
parent213bd7f2f126e8f69cbb9be274ea99581937f193
Check for pthread and use it if found.

* configure.in (HAVE_PTHREAD): Add check for -lpthread.
(HAVE_GTK_AND_PTHREAD): Remove.

* src/Makefile.in (LIB_PTHREAD): New variable.
(LIBES): Add LIB_PTHREAD (Bug#9216).

* src/alloc.c, src/emacs.c, src/gmalloc.c, src/gtkutil.c, src/keyboard.c, src/syssignal.h:
Rename HAVE_GTK_AND_PTHREAD to HAVE_PTHREAD (Bug#9216).
ChangeLog
configure.in
src/ChangeLog
src/Makefile.in
src/alloc.c
src/emacs.c
src/gmalloc.c
src/gtkutil.c
src/keyboard.c
src/syssignal.h