From c78c637a771fef7236bd559a42d18d8b5fc370da Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 15 Mar 2010 17:07:59 +0100 Subject: task: use bionic/libc friendly arguments to prctl prctl is supposed to take 5 arguments. It used to work with 2 arguments on some versions of libc because it is defined as a varags function there. See #611911 --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 37967e3f42..3c9e3af635 100644 --- a/configure.ac +++ b/configure.ac @@ -281,9 +281,8 @@ dnl check for pthreads AC_CHECK_HEADERS([pthread.h], HAVE_PTHREAD_H=yes) AM_CONDITIONAL(HAVE_PTHREAD_H, test "x$HAVE_PTHREAD_H" = "xyes") -dnl check for sys/prctl +dnl check for sys/prctl for setting thread name on Linux AC_CHECK_HEADERS([sys/prctl.h], HAVE_SYS_PRCTL_H=yes) -AM_CONDITIONAL(HAVE_SYS_PRTCL_H, test "x$HAVE_SYS_PRCTL_H" = "xyes") dnl Check for valgrind.h dnl separate from HAVE_VALGRIND because you can have the program, but not -- cgit v1.2.1