From 8ecd1c0da4b4d4a18ababc8dba2a33d618c81070 Mon Sep 17 00:00:00 2001 From: Tobias Burnus Date: Fri, 20 Jan 2012 12:32:52 +0100 Subject: re PR libfortran/51899 (libgfortran's chmod.c fails to build on MinGW) 2012-01-20 Tobias Burnus 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 --- libgfortran/configure | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libgfortran/configure') 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; } -- cgit v1.1