diff options
author | jb <jb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-09 18:25:58 +0000 |
---|---|---|
committer | jb <jb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-09 18:25:58 +0000 |
commit | a1aa1d3077cf008c27eb9411fd247f695dbf6bbc (patch) | |
tree | 8b9c2e9bcc9e893681a7abd25852a18d141f8f6d /libgfortran/config.h.in | |
parent | b88c56264035fe4267a4197d1cc06fcd6ffebb32 (diff) | |
download | gcc-a1aa1d3077cf008c27eb9411fd247f695dbf6bbc.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181227 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/config.h.in')
-rw-r--r-- | libgfortran/config.h.in | 48 |
1 files changed, 6 insertions, 42 deletions
diff --git a/libgfortran/config.h.in b/libgfortran/config.h.in index 9333f64f8f0..81a4a7fb455 100644 --- a/libgfortran/config.h.in +++ b/libgfortran/config.h.in @@ -198,9 +198,6 @@ /* Define to 1 if you have the `chsize' function. */ #undef HAVE_CHSIZE -/* Define to 1 if you have the `clock' function. */ -#undef HAVE_CLOCK - /* Define to 1 if you have the `clock_gettime' function. */ #undef HAVE_CLOCK_GETTIME @@ -228,7 +225,7 @@ /* Define to 1 if you have the `close' function. */ #undef HAVE_CLOSE -/* complex.h exists */ +/* Define to 1 if you have the <complex.h> header file. */ #undef HAVE_COMPLEX_H /* libm includes copysign */ @@ -381,9 +378,6 @@ /* Define to 1 if you have the <floatingpoint.h> header file. */ #undef HAVE_FLOATINGPOINT_H -/* Define to 1 if you have the <float.h> header file. */ -#undef HAVE_FLOAT_H - /* libm includes floor */ #undef HAVE_FLOOR @@ -435,10 +429,10 @@ /* Define to 1 if you have the `getcwd' function. */ #undef HAVE_GETCWD -/* libc includes geteuid */ +/* Define to 1 if you have the `geteuid' function. */ #undef HAVE_GETEUID -/* libc includes getgid */ +/* Define to 1 if you have the `getgid' function. */ #undef HAVE_GETGID /* Define to 1 if you have the `gethostname' function. */ @@ -450,10 +444,10 @@ /* Define to 1 if you have the `getlogin' function. */ #undef HAVE_GETLOGIN -/* libc includes getpid */ +/* Define to 1 if you have the `getpid' function. */ #undef HAVE_GETPID -/* libc includes getppid */ +/* Define to 1 if you have the `getppid' function. */ #undef HAVE_GETPPID /* Define to 1 if you have the `getpwuid' function. */ @@ -471,7 +465,7 @@ /* Define to 1 if you have the `gettimeofday' function. */ #undef HAVE_GETTIMEOFDAY -/* libc includes getuid */ +/* Define to 1 if you have the `getuid' function. */ #undef HAVE_GETUID /* Define to 1 if you have the `gmtime_r' function. */ @@ -606,9 +600,6 @@ /* libm includes nextafterl */ #undef HAVE_NEXTAFTERL -/* Define to 1 if you have the `perror' function. */ -#undef HAVE_PERROR - /* Define to 1 if you have the `pipe' function. */ #undef HAVE_PIPE @@ -654,12 +645,6 @@ /* Define to 1 if you have the `setmode' function. */ #undef HAVE_SETMODE -/* Define to 1 if you have the `signal' function. */ -#undef HAVE_SIGNAL - -/* Define to 1 if you have the <signal.h> header file. */ -#undef HAVE_SIGNAL_H - /* libm includes sin */ #undef HAVE_SIN @@ -696,30 +681,18 @@ /* Define to 1 if you have the `stat' function. */ #undef HAVE_STAT -/* Define to 1 if you have the <stdarg.h> header file. */ -#undef HAVE_STDARG_H - /* Define to 1 if you have the <stdint.h> header file. */ #undef HAVE_STDINT_H -/* Define to 1 if you have the <stdio.h> header file. */ -#undef HAVE_STDIO_H - /* Define to 1 if you have the <stdlib.h> header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the `strcasestr' function. */ #undef HAVE_STRCASESTR -/* Define to 1 if you have the `strerror' function. */ -#undef HAVE_STRERROR - /* Define to 1 if you have the `strerror_r' function. */ #undef HAVE_STRERROR_R -/* Define to 1 if you have the `strftime' function. */ -#undef HAVE_STRFTIME - /* Define to 1 if you have the <strings.h> header file. */ #undef HAVE_STRINGS_H @@ -792,15 +765,9 @@ /* libm includes tgammal */ #undef HAVE_TGAMMAL -/* Define to 1 if you have the `time' function. */ -#undef HAVE_TIME - /* Define to 1 if you have the `times' function. */ #undef HAVE_TIMES -/* Define to 1 if you have the <time.h> header file. */ -#undef HAVE_TIME_H - /* libm includes trunc */ #undef HAVE_TRUNC @@ -907,9 +874,6 @@ /* Define to 1 if the target supports #pragma weak */ #undef SUPPORTS_WEAK -/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ -#undef TIME_WITH_SYS_TIME - /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # undef _ALL_SOURCE |