diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-02-11 23:11:32 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-02-11 23:11:32 +0000 |
commit | d2c8928d306861a39cc7c341e09f7e66b8f1c649 (patch) | |
tree | 4c11599bf8b3287a2c57ea361b3d9e47a09b58c4 /configure.ac | |
parent | 43df67ad041fda13c795b8b91fc45e8b71c047cf (diff) |
Fix build against libpthread
* configure.ac: Link against libpthread instead of libthreads.
Explicitly link against libshouldbeinlibc.
* cvs_tree.c: Include <pthread.h>, use pthread functions instead of Mach
cthreads functions.
* cvsfs.h: Likewise.
* netfs.c: Likewise.
* node.c: Likewise.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 1dab6582d..2c4a4a821 100644 --- a/configure.ac +++ b/configure.ac @@ -16,10 +16,11 @@ AM_INIT_AUTOMAKE(cvsfs, 0.2) AC_PROG_CC # Checks for libraries. -AC_CHECK_LIB([threads], [rwlock_init]) +AC_CHECK_LIB([pthread], [pthread_rwlock_init]) AC_CHECK_LIB([ports], [hurd_ihash_init]) AC_CHECK_LIB([fshelp], [fshelp_touch]) AC_CHECK_LIB([iohelp], [iohelp_initialize_conch]) +AC_CHECK_LIB([shouldbeinlibc], [maptime_map]) #AC_CHECK_LIB([netfs], [netfs_startup]) # Check whether zlib compression is available |