diff options
author | tkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-29 20:01:45 +0000 |
---|---|---|
committer | tkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-29 20:01:45 +0000 |
commit | 5a037dbd1fa96857356ea9450dbb279236a4ccbd (patch) | |
tree | 05a77906359d7bd336aba3bd8c097b7414e1f63a /libgfortran/configure.ac | |
parent | 4047f0ad54131fd8873b84689a613687398056c6 (diff) | |
download | gcc-5a037dbd1fa96857356ea9450dbb279236a4ccbd.tar.gz |
2007-07-29 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/32858
PR libfortran/30814
* configure.ac: Added checks for presence of stdio.h and
stdarg.h. Test presence of vsnprintf().
* configure: Regenerated.
* config.h.in: Regenerated.
* libgfortran.h: Include <stdio.h>. Add printf attribute to
prototype of runtime_error. Remove prototype for st_sprintf.
Add prototype for st_vprintf.
* runtime/main.c (store_exec_path): Replace st_sprintf by sprintf.
* runtime/error.c (st_sprintf): Remove.
(runtime_error): Rewrite as a variadic function. Call
st_vprintf().
* intrinsics/pack_generic.c: Output extents of LHS and RHS for
bounds error.
* io/open.c (new_unit): Replace st_sprintf by sprintf.
* io/list_read.c (convert_integer): Likewise.
(parse_repeat): Likewise.
(read_logical): Likewise.
(read_character): Likewise.
(parse_real): Likewise.
(read_real): Likewise.
(check_type): Likewise.
(nml_parse_qualifyer): Likewise.
(nml_read_obj): Likewise.
(nml_get_ojb_data): Likewise.
* io/unix.c (init_error_stream): Remove.
(tempfile): Replace st_sprintf by sprintf.
(st_vprintf): New function.
(st_printf): Rewrite to call st_vprintf.
* io/transfer.c (require_type): Replace st_sprintf by sprintf.
* io/format.c (format_error): Likewise.
* io/write.c (nml_write_obj): Likewise.
2007-07-29 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/32858
PR libfortran/30814
* gfortran.dg/pack_bounds_1.f90: Adjust to new error message.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127049 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/configure.ac')
-rw-r--r-- | libgfortran/configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac index 9e1572fa674..0c8532611d7 100644 --- a/libgfortran/configure.ac +++ b/libgfortran/configure.ac @@ -176,7 +176,7 @@ AC_TYPE_OFF_T # check header files AC_STDC_HEADERS AC_HEADER_TIME -AC_HAVE_HEADERS(stdlib.h string.h unistd.h signal.h) +AC_HAVE_HEADERS(stdio.h stdlib.h string.h unistd.h signal.h stdarg.h) AC_CHECK_HEADERS(time.h sys/time.h sys/times.h sys/resource.h) AC_CHECK_HEADERS(sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h) AC_CHECK_HEADERS(fenv.h fptrap.h float.h execinfo.h pwd.h) @@ -192,7 +192,7 @@ AC_CHECK_FUNCS(getrusage times mkstemp strtof strtold snprintf ftruncate chsize) AC_CHECK_FUNCS(chdir strerror getlogin gethostname kill link symlink perror) AC_CHECK_FUNCS(sleep time ttyname signal alarm ctime clock access fork execl) AC_CHECK_FUNCS(wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit) -AC_CHECK_FUNCS(gettimeofday stat fstat lstat getpwuid) +AC_CHECK_FUNCS(gettimeofday stat fstat lstat getpwuid vsnprintf) # Check for glibc backtrace functions AC_CHECK_FUNCS(backtrace backtrace_symbols) |