mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Minor xfsprogs updates - add checks for pthreads lib, add missing stripe
info init in libxfs_mount, testing script for large filesystems. Macros for checking aspects of the installed pthreads library.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
AC_DEFUN([AC_PACKAGE_NEED_PTHREAD_H],
|
||||
[ AC_CHECK_HEADERS(pthread.h)
|
||||
if test $ac_cv_header_pthread_h = no; then
|
||||
AC_CHECK_HEADERS(pthread.h,, [
|
||||
echo
|
||||
echo 'FATAL ERROR: could not find a valid pthread header.'
|
||||
exit 1])
|
||||
fi
|
||||
])
|
||||
|
||||
AC_DEFUN([AC_PACKAGE_NEED_PTHREADMUTEXINIT],
|
||||
[ AC_CHECK_LIB(pthread, pthread_mutex_init,, [
|
||||
echo
|
||||
echo 'FATAL ERROR: could not find a valid pthread library.'
|
||||
exit 1
|
||||
])
|
||||
libpthread=-lpthread
|
||||
AC_SUBST(libpthread)
|
||||
])
|
||||
Reference in New Issue
Block a user