diff options
| author | Paul Eggert | 2011-10-23 19:40:23 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-10-23 19:40:23 -0700 |
| commit | e782cfabe70f10d62c0a1eb6f1eeed74a86d6c2d (patch) | |
| tree | ad4b64b47e52b7af24ed5433d626f54a11583fae | |
| parent | 08c7586636dca746d777865287f7c92cfaffd92b (diff) | |
| download | emacs-e782cfabe70f10d62c0a1eb6f1eeed74a86d6c2d.tar.gz emacs-e782cfabe70f10d62c0a1eb6f1eeed74a86d6c2d.zip | |
* configure.in (LIB_PTHREAD): Prepend -lpthread to LIBS (Bug#9852)
if the library is found. Otherwise, later configure-time tests,
such as the test for pthread_sigmask, generate the wrong results
on some platforms. Problem reported for FreeBSD by Nali Toja.
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | configure.in | 3 |
2 files changed, 9 insertions, 1 deletions
| @@ -1,3 +1,10 @@ | |||
| 1 | 2011-10-24 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * configure.in (LIB_PTHREAD): Prepend -lpthread to LIBS (Bug#9852) | ||
| 4 | if the library is found. Otherwise, later configure-time tests, | ||
| 5 | such as the test for pthread_sigmask, generate the wrong results | ||
| 6 | on some platforms. Problem reported for FreeBSD by Nali Toja. | ||
| 7 | |||
| 1 | 2011-10-20 Paul Eggert <eggert@cs.ucla.edu> | 8 | 2011-10-20 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 9 | ||
| 3 | Time zone name fixes for non-ASCII locales (Bug#641, Bug#9794) | 10 | Time zone name fixes for non-ASCII locales (Bug#641, Bug#9794) |
diff --git a/configure.in b/configure.in index 5b32e10853f..3040c13e683 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -1723,7 +1723,8 @@ fi | |||
| 1723 | if test "$HAVE_PTHREAD" = yes; then | 1723 | if test "$HAVE_PTHREAD" = yes; then |
| 1724 | case "${canonical}" in | 1724 | case "${canonical}" in |
| 1725 | *-hpux*) ;; | 1725 | *-hpux*) ;; |
| 1726 | *) LIB_PTHREAD="-lpthread" ;; | 1726 | *) LIB_PTHREAD="-lpthread" |
| 1727 | LIBS="$LIB_PTHREAD $LIBS" ;; | ||
| 1727 | esac | 1728 | esac |
| 1728 | AC_DEFINE(HAVE_PTHREAD, 1, [Define to 1 if you have pthread (-lpthread).]) | 1729 | AC_DEFINE(HAVE_PTHREAD, 1, [Define to 1 if you have pthread (-lpthread).]) |
| 1729 | fi | 1730 | fi |