Whamcloud - gitweb
configure.ac: fix build failure on systems with pthreads && !fuse support
authorTheodore Ts'o <tytso@mit.edu>
Sat, 30 Jan 2021 03:28:31 +0000 (22:28 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 30 Jan 2021 03:28:31 +0000 (22:28 -0500)
commit24487a7fa64bfa92bea21be3ca8c155e5de7438f
treed98a6625bf2f7c6abafeafe48a56535625c27a02
parent2b0d66bbec7807597673b7e00f2d9ff04439c307
configure.ac: fix build failure on systems with pthreads && !fuse support

The configure script checks for pthread.h as part of double-checking
that the FUSE support works correctly, which implicitly defined
HAVE_PHREAD_H.  If the FUSE libraries are not present (or fuse support
is explicitly disabled), this check doesn't happen and so
HAVE_PTHREAD_H is not defined, and this causes a build failure.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
configure
configure.ac