diff options
| author | Tom Tromey <tromey@cygnus.com> | 1999-12-15 22:38:56 +0000 |
|---|---|---|
| committer | Tom Tromey <tromey@gcc.gnu.org> | 1999-12-15 22:38:56 +0000 |
| commit | 6150df627a7fb825a10280e54c35c8250e69bae0 (patch) | |
| tree | a62a290aa80d703465c399c7618dc878d025cffd /libjava/include | |
| parent | 5a626f11f4069f2b9d8f16ca9d8c210a5458cd6c (diff) | |
natSystem.cc (init_properties): Don't set user.name or user.home if NO_GETUID defined.
* java/lang/natSystem.cc (init_properties): Don't set user.name or
user.home if NO_GETUID defined. Only set user.dir if getcwd
exists.
* include/config.h.in: Rebuilt.
* acconfig.h (NO_GETUID): New define.
* configure.in: Rebuilt.
* configure.in: Define NO_GETUID in cross case. Check for getcwd
in native case.
From-SVN: r30964
Diffstat (limited to 'libjava/include')
| -rw-r--r-- | libjava/include/config.h.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libjava/include/config.h.in b/libjava/include/config.h.in index 6c08b161b6c..8dbdc5d4e67 100644 --- a/libjava/include/config.h.in +++ b/libjava/include/config.h.in @@ -135,6 +135,9 @@ /* Define if using setjmp/longjmp exceptions. */ #undef SJLJ_EXCEPTIONS +/* Define if getuid() and friends are missing. */ +#undef NO_GETUID + /* Define if you have the access function. */ #undef HAVE_ACCESS @@ -147,6 +150,9 @@ /* Define if you have the ftime function. */ #undef HAVE_FTIME +/* Define if you have the getcwd function. */ +#undef HAVE_GETCWD + /* Define if you have the gethostbyaddr_r function. */ #undef HAVE_GETHOSTBYADDR_R |
