diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-05-16 17:55:57 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-05-16 17:55:57 +0000 |
commit | ffc53004b69ff7b6cefab89f0a027d9ff82359c4 (patch) | |
tree | ed5249b4c248b570fe25e33886c424d6afc557a2 | |
parent | c8b7d8f916241e8f588dab8cf813fb7e8c5f7f34 (diff) | |
download | gpsd-ffc53004b69ff7b6cefab89f0a027d9ff82359c4.tar.gz |
Make LPTHREAD available for configuration.
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 450e1a09..3226e43c 100644 --- a/configure.ac +++ b/configure.ac @@ -63,6 +63,10 @@ AC_SUBST(LIBM) AC_CHECK_LIB(c, open, LIBC="-lc") AC_SUBST(LIBC) +dnl Check for pthread, needed by the callback +AC_CHECK_LIB(pthread, main, LIBPTHREAD="-lpthread") +AC_SUBST(LIBPTHREAD) + AH_VERBATIM([_GNU_SOURCE], [/* Macro for declaring function arguments unused. */ #if defined(__GNUC__) |