gcc/libgfortran/intrinsics
Janne Blomqvist 7454437875 Configure cleanup.
2011-11-09  Janne Blomqvist  <jb@gcc.gnu.org>

	* configure.ac (AC_STDC_HEADERS): Remove.
	(AC_HEADER_TIME): Remove.
	(AC_HAVE_HEADERS, AC_CHECK_HEADERS): Move into a single invocation
	of AC_CHECK_HEADERS_ONCE, don't check for presence of C89 headers.
	(AC_CHECK_MEMBERS): Use single invocation.
	(AC_CHECK_FUNCS): Move into single invocation of
	AC_CHEC_FUNCS_ONCE, don't check for presence of C89 functions.
	* config.h.in: Regenerate.
	* configure: Regenerate.
	* intrinsics/clock.c: Include time.h.
	(mclock): Assume clock() is present.
	(mclock8): Likewise.
	* intrinsics/ctime.c (strctime): Assume strftime is present.
	(fdate): Assume time() is present.
	(fdate_sub): Likewise.
	(ctime): Likewise.
	* intrinsics/date_and_time.c: Don't provide abs macro.
	(HAVE_NO_DATE_TIME): Remove code related to macro which is never
	set.
	* intrinsics/execute_command_line.c: Assume stdlib.h is present.
	* intrinsics/exit.c: Likewise.
	* intrinsics/extends_type_of.c: Likewise.
	* intrinsics/gerror.c: Assume strerror() is present.
	* intrinsics/kill.c: Assume signal.h is present.
	* intrinsics/malloc.c: Assume stdlib.h is present.
	* intrinsics/move_alloc.c: Likewise.
	* intrinsics/perror.c: Assume perror() is present.
	* intrinsics/signal.c: Assume signal.h is present.
	* intrinsics/stat.c: Assume stdlib.h is present.
	* intrinsics/system.c: Likewise.
	* intrinsics/time.c: Include time.h, assume time() is present.
	* intrinsics/time_1.h: Conditionally include sys/time.h,
	unconditionally time.h.
	(gf_cputime): Do division in double, fallback using clock().
	(gf_gettime): Assume time() is present.
	* intrinsics/umask.c: Assume stdlib.h is present.
	* runtime/backtrace.c: Likewise.
	* runtime/compile_options.c: Assume signal.h is present, assume
	C89 signals are present.
	* runtime/error.c: Assume signal.h and stdlib.h are present.

From-SVN: r181227
2011-11-09 20:25:58 +02:00
..
abort.c PR 48915 Abort handling 2011-05-14 11:44:09 +03:00
access.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
args.c transfer.c: Update copyright. 2010-04-01 18:22:00 +00:00
associated.c re PR fortran/37577 ([meta-bug] change internal array descriptor format for better syntax, C interop TR, rank 15) 2009-06-21 19:24:55 +00:00
bit_intrinsics.c re PR fortran/40019 (LEADZ and TRAILZ give wrong results) 2009-05-29 23:27:54 +02:00
c99_functions.c re PR libfortran/47970 (c99_functions.c:611:5: warning: implicit declaration of function 'round') 2011-11-08 10:31:04 +00:00
chdir.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
chmod.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
clock.c Configure cleanup. 2011-11-09 20:25:58 +02:00
cpu_time.c Use clock_gettime in libgfortran timing intrinsics, cleanup 2011-01-31 22:52:00 +02:00
cshift0.c memory.c (internal_malloc_size): If size is zero, allocate a single byte. 2011-07-05 18:16:17 +00:00
ctime.c Configure cleanup. 2011-11-09 20:25:58 +02:00
date_and_time.c Configure cleanup. 2011-11-09 20:25:58 +02:00
dprod_r8.f90 Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
dtime.c Use clock_gettime in libgfortran timing intrinsics, cleanup 2011-01-31 22:52:00 +02:00
env.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
eoshift0.c memory.c (internal_malloc_size): If size is zero, allocate a single byte. 2011-07-05 18:16:17 +00:00
eoshift2.c memory.c (internal_malloc_size): If size is zero, allocate a single byte. 2011-07-05 18:16:17 +00:00
erfc_scaled.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
erfc_scaled_inc.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
etime.c Use clock_gettime in libgfortran timing intrinsics, cleanup 2011-01-31 22:52:00 +02:00
execute_command_line.c Configure cleanup. 2011-11-09 20:25:58 +02:00
exit.c Configure cleanup. 2011-11-09 20:25:58 +02:00
extends_type_of.c Configure cleanup. 2011-11-09 20:25:58 +02:00
f2c_specifics.F90 Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
fnum.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gerror.c Configure cleanup. 2011-11-09 20:25:58 +02:00
getcwd.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
getlog.c ctime.c: Include <stdlib.h>. 2011-07-23 11:06:04 +00:00
getXid.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
hostnm.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
ierrno.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
ishftc.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
iso_c_binding.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
iso_c_binding.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
iso_c_generated_procs.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
kill.c Configure cleanup. 2011-11-09 20:25:58 +02:00
link.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
malloc.c Configure cleanup. 2011-11-09 20:25:58 +02:00
move_alloc.c Configure cleanup. 2011-11-09 20:25:58 +02:00
mvbits.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
pack_generic.c memory.c (internal_malloc_size): If size is zero, allocate a single byte. 2011-07-05 18:16:17 +00:00
perror.c Configure cleanup. 2011-11-09 20:25:58 +02:00
rand.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
random.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
rename.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
reshape_generic.c re PR fortran/49479 (reshape / optionals / zero sized arrays) 2011-06-28 18:59:04 +00:00
reshape_packed.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
selected_char_kind.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
selected_int_kind.f90 Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
selected_real_kind.f90 intrinsic.h (gfc_check_selected_real_kind, [...]): Update prototypes. 2010-06-25 21:40:37 +02:00
signal.c Configure cleanup. 2011-11-09 20:25:58 +02:00
size.c re PR fortran/37577 ([meta-bug] change internal array descriptor format for better syntax, C interop TR, rank 15) 2009-06-21 19:24:55 +00:00
sleep.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
spread_generic.c memory.c (internal_malloc_size): If size is zero, allocate a single byte. 2011-07-05 18:16:17 +00:00
stat.c Configure cleanup. 2011-11-09 20:25:58 +02:00
string_intrinsics.c re PR libfortran/50192 (Wrong character comparision with wide strings) 2011-08-29 09:05:11 +00:00
string_intrinsics_inc.c re PR libfortran/50192 (Wrong character comparision with wide strings) 2011-08-29 09:05:11 +00:00
symlnk.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
system.c Configure cleanup. 2011-11-09 20:25:58 +02:00
system_clock.c PR 47571 Fix bootstrap regression on alpha-dec-osf 2011-04-15 07:21:19 +03:00
time.c Configure cleanup. 2011-11-09 20:25:58 +02:00
time_1.h Configure cleanup. 2011-11-09 20:25:58 +02:00
transpose_generic.c re PR fortran/37577 ([meta-bug] change internal array descriptor format for better syntax, C interop TR, rank 15) 2009-06-21 19:24:55 +00:00
umask.c Configure cleanup. 2011-11-09 20:25:58 +02:00
unlink.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unpack_generic.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00