aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2021-03-25 16:35:50 -0700
committerAndrew Waterman <andrew@sifive.com>2021-03-25 16:35:50 -0700
commitb65ead89309305cbe7d257dec1694e827f827bff (patch)
treedb2ebb43373389a2001085e5d8e1e0fb5d46c752 /configure
parent3caa6e43493b9ee356d83d7dfa009ae78270ae4c (diff)
downloadspike-b65ead89309305cbe7d257dec1694e827f827bff.zip
spike-b65ead89309305cbe7d257dec1694e827f827bff.tar.gz
spike-b65ead89309305cbe7d257dec1694e827f827bff.tar.bz2
Fix Ubuntu 16.04 build
Was broken by #681.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure b/configure
index e51a251..31baaa5 100755
--- a/configure
+++ b/configure
@@ -4756,6 +4756,16 @@ else
fi
+ac_fn_cxx_check_member "$LINENO" "struct statx" "ino" "ac_cv_member_struct_statx_ino" "$ac_includes_default"
+if test "x$ac_cv_member_struct_statx_ino" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STATX 1
+_ACEOF
+
+fi
+
+
ac_fn_cxx_check_member "$LINENO" "struct statx" "stx_mnt_id" "ac_cv_member_struct_statx_stx_mnt_id" "$ac_includes_default"
if test "x$ac_cv_member_struct_statx_stx_mnt_id" = xyes; then :
@@ -4769,6 +4779,7 @@ fi
+
# Determine if this is a required or an optional subproject