diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-05-07 11:44:09 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-05-07 11:44:09 +0000 |
commit | b8a373b2d27e74a3ccac2073472fe540e1e900dc (patch) | |
tree | 5f6e3c811759ee18df724c996ca8d1989e3b49b7 /gcc/config.in | |
parent | c0ea71017937f24e75289a3421050ef059951478 (diff) | |
download | gcc-b8a373b2d27e74a3ccac2073472fe540e1e900dc.tar.gz |
Handle missing vfprintf() & _doprnt() functions with linked in modules,
plus do some general cleanup of variable argument handling.
* aclocal.m4 (GCC_FUNC_VFPRINTF_DOPRNT): New macro.
* configure.in: Add a call to GCC_FUNC_VFPRINTF_DOPRNT.
(AC_CHECK_HEADERS): Remove unused check for varargs.h,sys/varargs.h.
(AC_CHECK_FUNCS): Remove unused check for vprintf.
* Makefile.in: Add support for linking in vfprintf.c and doprint.c.
(cccp.o): Depend on gansidecl.h.
(cexp.o): Likewise.
* cccp.c: Convert from using PRINTF_ALIST/PRINTF_DCL to VPROTO as
per the rest of gcc source.
* cexp.y: Likewise. Include gansidecl.h and remove all code made
redundant.
* cccp.c: Remove checks for HAVE_VPRINTF and the associated code
used when vfprintf is missing.
* cexp.y: Likewise.
* gcc.c: Likewise.
* genattrtab.c: Likewise.
* mips-tfile.c: Likewise.
* toplev.c: Likewise.
* vfprintf.c: New file.
* doprint.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19610 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.in')
-rw-r--r-- | gcc/config.in | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/gcc/config.in b/gcc/config.in index e25ffb00b30..772c165e248 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -47,6 +47,12 @@ /* Whether abort must be declared even if <stdlib.h> is included. */ #undef NEED_DECLARATION_ABORT +/* Define if you don't have vprintf but do have _doprnt. */ +#undef HAVE_DOPRNT + +/* Define if you have the vprintf function. */ +#undef HAVE_VPRINTF + /* Define if you have the ANSI C header files. */ #undef STDC_HEADERS @@ -113,9 +119,6 @@ /* Define if you have the sysconf function. */ #undef HAVE_SYSCONF -/* Define if you have the vprintf function. */ -#undef HAVE_VPRINTF - /* Define if you have the <fcntl.h> header file. */ #undef HAVE_FCNTL_H @@ -152,9 +155,6 @@ /* Define if you have the <sys/times.h> header file. */ #undef HAVE_SYS_TIMES_H -/* Define if you have the <sys/varargs.h> header file. */ -#undef HAVE_SYS_VARARGS_H - /* Define if you have the <sys/wait.h> header file. */ #undef HAVE_SYS_WAIT_H @@ -164,8 +164,5 @@ /* Define if you have the <unistd.h> header file. */ #undef HAVE_UNISTD_H -/* Define if you have the <varargs.h> header file. */ -#undef HAVE_VARARGS_H - /* Define if you have the <wait.h> header file. */ #undef HAVE_WAIT_H |