build: remove the test for /proc/self/exe

When building BOINC on MSYS+MinGW the build time environment does have
/proc but the run time environment never has /proc.

BSDs consider /proc to be an optional feature and, as such, /proc may be
present at build time but missing at run time or vice versa.

This makes checking for /proc/self/exe in configure unreliable and the
check is better done at run time. get_real_executable_path() is the only
user of the test result and has already been changed to do the check at
run time.
This commit is contained in:
Juha Sointusalo 2018-09-22 18:40:24 +03:00
parent 1296c86f49
commit aa0fcd72b3
1 changed files with 0 additions and 5 deletions

View File

@ -993,11 +993,6 @@ if test -e "/proc/self/stat"; then
AC_DEFINE(HAVE__PROC_SELF_STAT, 1, [Define to 1 if /proc/self/stat exists])
fi
dnl Check for /proc/self/exe (Linux)
if test -e "/proc/self/exe"; then
AC_DEFINE(HAVE__PROC_SELF_EXE, 1, [Define to 1 if /proc/self/exe exists])
fi
dnl Check for /proc/meminfo (Linux)
if test -e "/proc/meminfo"; then
AC_DEFINE(HAVE__PROC_MEMINFO, 1, [Define to 1 if /proc/meminfo exists])