mirror of https://github.com/BOINC/boinc.git
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:
parent
1296c86f49
commit
aa0fcd72b3
|
@ -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])
|
AC_DEFINE(HAVE__PROC_SELF_STAT, 1, [Define to 1 if /proc/self/stat exists])
|
||||||
fi
|
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)
|
dnl Check for /proc/meminfo (Linux)
|
||||||
if test -e "/proc/meminfo"; then
|
if test -e "/proc/meminfo"; then
|
||||||
AC_DEFINE(HAVE__PROC_MEMINFO, 1, [Define to 1 if /proc/meminfo exists])
|
AC_DEFINE(HAVE__PROC_MEMINFO, 1, [Define to 1 if /proc/meminfo exists])
|
||||||
|
|
Loading…
Reference in New Issue