Handle missing vfprintf() & _doprnt() functions with linked in modules,
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Thu, 7 May 1998 11:44:09 +0000 (11:44 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Thu, 7 May 1998 11:44:09 +0000 (11:44 +0000)
commit76b4b31ead81f9c957962ab76df73c59a0650f14
tree5f6e3c811759ee18df724c996ca8d1989e3b49b7
parentbebc46636dadf957cf8d1eac2fe1e73c292e9983
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.

From-SVN: r19610
15 files changed:
gcc/ChangeLog
gcc/Makefile.in
gcc/aclocal.m4
gcc/cccp.c
gcc/cexp.c
gcc/cexp.y
gcc/config.in
gcc/configure
gcc/configure.in
gcc/doprint.c [new file with mode: 0644]
gcc/gcc.c
gcc/genattrtab.c
gcc/mips-tfile.c
gcc/toplev.c
gcc/vfprintf.c [new file with mode: 0644]