From 0f686d436e5e18d6f40fecc01128d3f383439b35 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Sun, 18 Aug 2013 12:42:11 +0200 Subject: check_procs: Get rid of HAVE_PROC_PID_EXE Don't check for /proc/pid/exe at compile time, it could be gone in a build chroot or the like. Checking at runtime (once) is sufficient. --- configure.in | 6 ------ 1 file changed, 6 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 7efcb0f9..43fe4ade 100644 --- a/configure.in +++ b/configure.in @@ -1632,12 +1632,6 @@ if test -n "$ac_cv_proc_meminfo"; then EXTRAS="$EXTRAS check_swap" fi -AC_MSG_CHECKING([for /proc/pid/exe]) -if [readlink /proc/$$/exe > /dev/null 2>&1]; then - AC_MSG_RESULT([found]) - AC_DEFINE(HAVE_PROC_PID_EXE,1,[Define if we have /proc/pid/exe]) -fi - AC_PATH_PROG(PATH_TO_DIG,dig) AC_ARG_WITH(dig_command, ACX_HELP_STRING([--with-dig-command=PATH], -- cgit v1.2.3-74-g34f1