> On 10.09.2012 22:33, Julian Foad wrote: >> Brane wrote: >> [...] >> >>> +#if LINUX >>> +static const char *linux_release_name(apr_pool_t *pool); >>> +#endif >> [...] >> >> On my Ubuntu GNU/Linux system: >> >> subversion/libsvn_subr/sysinfo.c:92:5: "LINUX" is not defined >> subversion/libsvn_subr/sysinfo.c:116:7: "LINUX" is not defined >> subversion/libsvn_subr/sysinfo.c:272:5: "LINUX" is not defined >> > > That's extremely strange. It builds on my Ubuntu VM, where -DLINUX=2 is > in CFLAGS. > I think I can switch things around so that we don't have to depend on > that symbol, but I'd be interested to figure out why you don't get the > symbol.
The string "LINUX" doesn't appear in my subversion WC including build outputs (except for the tests you added), nor anywhere in /usr/include except this one test: /usr/include/apr-1.0/apr_general.h:#if defined(CRAY) || (defined(__arm) && !defined(LINUX)) "cpp -dM" prints out the preprocessor's predefined macros; it isn't there either: $ cpp -dM /dev/null | grep LINUX $ cpp --version cpp (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1 So where does it come from on your system, and what does it mean? - Julian