diff options
author | Tobias Burnus <burnus@net-b.de> | 2012-01-20 12:32:52 +0100 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2012-01-20 12:32:52 +0100 |
commit | 8ecd1c0da4b4d4a18ababc8dba2a33d618c81070 (patch) | |
tree | cf12a1b371d25420960613debb68d065507c18d8 /libgfortran/configure | |
parent | f69ce7cf490b1e8347d0cb700e2f2cb5fbda6633 (diff) | |
download | gcc-8ecd1c0da4b4d4a18ababc8dba2a33d618c81070.zip gcc-8ecd1c0da4b4d4a18ababc8dba2a33d618c81070.tar.gz gcc-8ecd1c0da4b4d4a18ababc8dba2a33d618c81070.tar.bz2 |
re PR libfortran/51899 (libgfortran's chmod.c fails to build on MinGW)
2012-01-20 Tobias Burnus <burnus@net-b.de>
PR libgfortran/51899
* configure.ac: Check whether umask is available.
* intrinsics/chmod.c (chmod_func): Make compile with MinGW.
* configure: Regenerate.
* config.h.in: Regenerate.
From-SVN: r183335
Diffstat (limited to 'libgfortran/configure')
-rwxr-xr-x | libgfortran/configure | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libgfortran/configure b/libgfortran/configure index 3cf9ac8..0498238 100755 --- a/libgfortran/configure +++ b/libgfortran/configure @@ -2591,6 +2591,7 @@ as_fn_append ac_func_list " getpid" as_fn_append ac_func_list " getppid" as_fn_append ac_func_list " getuid" as_fn_append ac_func_list " geteuid" +as_fn_append ac_func_list " umask" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -12317,7 +12318,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12320 "configure" +#line 12321 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12423,7 +12424,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12426 "configure" +#line 12427 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -16532,6 +16533,8 @@ done + + # Check for C99 (and other IEEE) math functions { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf in -lm" >&5 $as_echo_n "checking for acosf in -lm... " >&6; } |