From eca3bc01316bbd06ebc5e42f3fe9146ef9552754 Mon Sep 17 00:00:00 2001 From: Jason Evans Date: Wed, 2 Nov 2016 19:50:44 -0700 Subject: Fix sycall(2) configure test for Linux. --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 65b2f15..3a4f150 100644 --- a/configure.ac +++ b/configure.ac @@ -379,7 +379,7 @@ case "${host}" in AC_DEFINE([JEMALLOC_PURGE_MADVISE_FREE], [ ]) ;; *-*-linux*) - dnl secure_getenv() is exposed by _GNU_SOURCE. + dnl syscall(2) and secure_getenv(3) are exposed by _GNU_SOURCE. CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" abi="elf" AC_DEFINE([JEMALLOC_HAS_ALLOCA_H]) @@ -1385,7 +1385,6 @@ dnl 10.12's deprecation warning prevents use. SAVED_CFLAGS="${CFLAGS}" JE_CFLAGS_APPEND([-Werror]) JE_COMPILABLE([syscall(2)], [ -#define _GNU_SOURCE #include #include ], [ -- cgit v0.12