diff options
author | Vinson Lee <[email protected]> | 2017-11-28 23:16:58 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2017-11-30 01:36:46 -0800 |
commit | 8c1e4b1afc8d396ccf99c725c59b29a9aa305557 (patch) | |
tree | 3bd90a7b061103b8263a33dd9138f1bec52fd8c7 /configure.ac | |
parent | 8620f7ebbc763dc1bbbc825d31cacfdd84433e05 (diff) |
anv: Check if memfd_create is already defined.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103909
Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 1344c12884f..f378e54b857 100644 --- a/configure.ac +++ b/configure.ac @@ -849,6 +849,7 @@ AC_CHECK_HEADER([sys/sysctl.h], [DEFINES="$DEFINES -DHAVE_SYS_SYSCTL_H"]) AC_CHECK_FUNC([strtof], [DEFINES="$DEFINES -DHAVE_STRTOF"]) AC_CHECK_FUNC([mkostemp], [DEFINES="$DEFINES -DHAVE_MKOSTEMP"]) AC_CHECK_FUNC([timespec_get], [DEFINES="$DEFINES -DHAVE_TIMESPEC_GET"]) +AC_CHECK_FUNC([memfd_create], [DEFINES="$DEFINES -DHAVE_MEMFD_CREATE"]) AC_MSG_CHECKING([whether strtod has locale support]) AC_LINK_IFELSE([AC_LANG_SOURCE([[ |