diff options
author | Ross Burton <ross.burton@intel.com> | 2018-01-29 16:24:36 +0000 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2018-01-29 14:34:45 -0500 |
commit | 0b550a4e7acf02d3478602848f6afbfcbfb0d4b2 (patch) | |
tree | 26389245a4ed6e7e8452a7da9b784c17978106a7 | |
parent | 1f194603cb927352c42798bead29c8ac3a680d02 (diff) |
configure.ac: call AC_USE_SYSTEM_EXTENSIONS
With glibc 2.27 memfd_create() is inside a _GNU_SOURCE guard, so call
AC_USE_SYSTEM_EXTENSIONS to get this defined.
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 55772d0..ed77e6d 100644 --- a/configure.ac +++ b/configure.ac @@ -28,6 +28,8 @@ AC_INIT([libxshmfence], [1.2], AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_HEADERS([config.h]) +AC_USE_SYSTEM_EXTENSIONS + # Initialize Automake AM_INIT_AUTOMAKE([foreign dist-bzip2]) |