]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
m4: Check for FTW_ACTIONRETVAL along with nftw
authorKhem Raj <raj.khem@gmail.com>
Sat, 25 Mar 2023 01:28:58 +0000 (18:28 -0700)
committerZorro Lang <zlang@kernel.org>
Sat, 25 Mar 2023 04:38:44 +0000 (12:38 +0800)
commit2a280de522cfe8a7209f5030a57e56d9f7d9cf5a
treeeb99ecfb7f2dff53b57860ee86db626722296ed1
parent3a9e43ba45fb10740c2c7964c2be91aad9606709
m4: Check for FTW_ACTIONRETVAL along with nftw

FTW_ACTIONRETVAL is glibc specific extention which is used to implement
xfsfind but it may not be available on other C library implementations on Linux
e.g. musl. Therefore ensure that these defines are available before declaring
nftw() to be usable

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Darrick J. Wong <djwong@kernel.org>
Cc: Zorro Lang <zlang@redhat.com>
Acked-by: Darrick J. Wong <djwong@kernel.org>
m4/package_libcdev.m4