diff options
author | Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2007-09-15 14:52:46 +0000 |
---|---|---|
committer | Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2007-09-15 14:52:46 +0000 |
commit | 30769220affe5aec7c6f52d9c6de4c728e968c84 (patch) | |
tree | 0048e16af72d2eef9bf9f9e8ac0d78574ea4bf40 /libgfortran/config.h.in | |
parent | d3c2063b841f9edbb2eaab62a0d6f83ecd48ab45 (diff) |
PR libfortran/21185
* runtime/compile_options.c (set_options): Fix typo.
* runtime/main.c (store_exe_path): If getcwd is not available,
don't use it.
* intrinsics/getcwd.c: Same thing here.
* io/unix.c (fallback_access): New fallback function for access.
(fix_fd): Don't use dup if it's not available.
* configure.ac: Check for dup and getcwd.
* configure: Regenerate.
* config.h.in: Regenerate.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@128512 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/config.h.in')
-rw-r--r-- | libgfortran/config.h.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libgfortran/config.h.in b/libgfortran/config.h.in index 877fc5a6e01..f805c437695 100644 --- a/libgfortran/config.h.in +++ b/libgfortran/config.h.in @@ -273,6 +273,9 @@ /* Define to 1 if you have the <dlfcn.h> header file. */ #undef HAVE_DLFCN_H +/* Define to 1 if you have the `dup' function. */ +#undef HAVE_DUP + /* Define to 1 if you have the `dup2' function. */ #undef HAVE_DUP2 @@ -384,6 +387,9 @@ /* Define to 1 if you have the `ftruncate' function. */ #undef HAVE_FTRUNCATE +/* Define to 1 if you have the `getcwd' function. */ +#undef HAVE_GETCWD + /* libc includes geteuid */ #undef HAVE_GETEUID |