* src/build-system/configure(.ac):
- Reflect the Hurd's support for -Wl,rpath,... .
* src/connect/ncbi_socket_cxx.cpp, src/connect/ext/ncbi_localnet.c:
cope with missing PATH_MAX everywhere, not just under Windows.
Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2020-09-19
Gbp-Pq: Name hurd_fixes
CONF_f_runpath="-R"
;;
linux*:[GI]CC | linux*Clang | *bsd*:GCC | *bsd*Clang | cygwin*:GCC \
- | osf*:GCC )
+ | osf*:GCC | gnu*:GCC )
CONF_f_runpath="-Wl,-rpath,"
;;
irix*:* | linux*:KCC | *:Compaq )
CONF_f_runpath="-R"
;;
linux*:[[GI]]CC | linux*Clang | *bsd*:GCC | *bsd*Clang | cygwin*:GCC \
- | osf*:GCC )
+ | osf*:GCC | gnu*:GCC )
CONF_f_runpath="-Wl,-rpath,"
;;
irix*:* | linux*:KCC | *:Compaq )
#include "ncbi_assert.h" // no _ASSERT()s, keep clean from xncbi
#include <connect/ncbi_socket_unix.hpp>
#include <limits.h> // for PATH_MAX
-#if defined(NCBI_OS_MSWIN) && !defined(PATH_MAX)
+#ifndef PATH_MAX
# define PATH_MAX 512 // will actually use less than 32 chars
#endif // NCBI_OS_MSWIN && !PATH_MAX