Gitlab@AEI Hannover will go down for maintenance on 2020-09-21 at 4:00 UTC. The service will be unavailable for up to 24 hours. If you have questions about this please contact atlas_admin@aei.mpg.de

Commit aa0fcd72 authored by Juha Sointusalo's avatar Juha Sointusalo

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.
parent 1296c86f
......@@ -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])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment