summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-01-28 11:00:14 -0700
committerJens Axboe <axboe@kernel.dk>2022-01-28 11:00:14 -0700
commitd9b0a424471f5c584f1d3f370e1746925733c01a (patch)
tree3c2371a052bdb39642fe58e6bec87823426311ab
parent3cd6fb341a0663ff6141e484fa44c9f3c9692e0b (diff)
parent7ad74b99e5a7d5c1f697b60f11f516bd780d0e6d (diff)
downloadliburing-d9b0a424471f5c584f1d3f370e1746925733c01a.tar.gz
liburing-d9b0a424471f5c584f1d3f370e1746925733c01a.tar.bz2
Merge branch 'fix-statx' of https://github.com/JonKohler/liburing
* 'fix-statx' of https://github.com/JonKohler/liburing: fix statx configure and build on !CONFIG_HAVE_STATX toolchains
-rwxr-xr-xconfigure2
-rw-r--r--test/Makefile1
2 files changed, 1 insertions, 2 deletions
diff --git a/configure b/configure
index 2061148..805a671 100755
--- a/configure
+++ b/configure
@@ -471,7 +471,7 @@ else cat >> $compat_h << EOF
EOF
fi
-if test "$glibc_statx" = "no" && "$statx" = "yes"; then
+if [ "$glibc_statx" = "no" ] && [ "$statx" = "yes" ]; then
cat >> $compat_h << EOF
#include <sys/stat.h>
diff --git a/test/Makefile b/test/Makefile
index 1d3dc13..b74ba06 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -138,7 +138,6 @@ test_srcs := \
sq-poll-share.c \
sqpoll-sleep.c \
sq-space_left.c \
- statx.c \
stdout.c \
submit-link-fail.c \
submit-reuse.c \